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 max
Recipients docs@python, max
Date 2016-11-24.08:14:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479975264.5.0.247033798803.issue28785@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, there's no clear statement as to what exactly the fallback is in case `__eq__` returns `NotImplemented`.  It would be good to clarify the behavior of `NotImplemented`; at least for `__eq__`, but perhaps also other rich comparison methods. For example: "When `NotImplemented` is returned from a rich comparison method, the interpreter behaves as if the rich comparison method was not defined in the first place." See http://stackoverflow.com/questions/40780004/returning-notimplemented-from-eq for more discussion.
History
Date User Action Args
2016-11-24 08:14:24maxsetrecipients: + max, docs@python
2016-11-24 08:14:24maxsetmessageid: <1479975264.5.0.247033798803.issue28785@psf.upfronthosting.co.za>
2016-11-24 08:14:24maxlinkissue28785 messages
2016-11-24 08:14:24maxcreate