Message132349
| Author |
daniel.urban |
| Recipients |
Trundle, alex, benjamin.peterson, brett.cannon, daniel.urban, dmalcolm, eltoder, georg.brandl, mark.dickinson, nadeem.vawda, ncoghlan, pitrou, rhettinger, santoso.wijaya, terry.reedy |
| Date |
2011年03月27日.16:26:11 |
| SpamBayes Score |
0.00075181894 |
| Marked as misclassified |
No |
| Message-id |
<1301243172.07.0.0253604121916.issue11549@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> not x == 2 can be theoretically optimized to x != 2, ...
I don't think it can:
>>> class X:
... def __eq__(self, other):
... return True
... def __ne__(self, other):
... return True
...
>>> x = X()
>>>
>>> not x == 2
False
>>> x != 2
True
>>> |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年03月27日 16:26:12 | daniel.urban | set | recipients:
+ daniel.urban, brett.cannon, georg.brandl, rhettinger, terry.reedy, mark.dickinson, ncoghlan, pitrou, nadeem.vawda, benjamin.peterson, alex, Trundle, dmalcolm, santoso.wijaya, eltoder |
| 2011年03月27日 16:26:12 | daniel.urban | set | messageid: <1301243172.07.0.0253604121916.issue11549@psf.upfronthosting.co.za> |
| 2011年03月27日 16:26:11 | daniel.urban | link | issue11549 messages |
| 2011年03月27日 16:26:11 | daniel.urban | create |
|