This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.
History
Date User Action Args
2015-01-24 15:31:45serhiy.storchakasetrecipients: + serhiy.storchaka, exarkun, benjamin.peterson, Arfrever, r.david.murray, flox, martin.panter, josh.r
2015-01-24 15:31:45serhiy.storchakasetmessageid: <1422113505.79.0.597500768967.issue21408@psf.upfronthosting.co.za>
2015-01-24 15:31:45serhiy.storchakalinkissue21408 messages
2015-01-24 15:31:45serhiy.storchakacreate