Message281616
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. |
|
Date |
User |
Action |
Args |
2016-11-24 08:14:24 | max | set | recipients:
+ max, docs@python |
2016-11-24 08:14:24 | max | set | messageid: <1479975264.5.0.247033798803.issue28785@psf.upfronthosting.co.za> |
2016-11-24 08:14:24 | max | link | issue28785 messages |
2016-11-24 08:14:24 | max | create | |
|