Message234618
| Author |
serhiy.storchaka |
| Recipients |
Arfrever, benjamin.peterson, exarkun, flox, josh.r, martin.panter, r.david.murray, serhiy.storchaka |
| Date |
2015年01月24日.15:31:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1422113505.79.0.597500768967.issue21408@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Particular case of this bug:
>>> class A:
... def __eq__(self, other): return NotImplemented
...
>>> A().__eq__(object())
NotImplemented
>>> A().__ne__(object())
True
The second result should be NotImplemented.
Martin's patch LGTM except few style nitpicks to tests. |
|