Message374331
This will make the docs confusing and create an uncertainty for a user: if they define __eq__, do they, can they, or should they define __ne__.
Also, it feels weird to have lists of five rich comparison methods rather than all six.
Tthe current docs better communicate which methods you need to supply and which methods get given to you for free. Note, there is a dependency. The object.__ne__ method depends on __eq__, so you don't get a useful __ne__ until and __eq__ is defined. The meaning of __ne__ does in fact get changed by these classes.
So, while this doc edit is pedantically correct, it makes the documentation less useable than before. I vote for leaving it as-is. |
|
Date |
User |
Action |
Args |
2020-07-26 17:01:41 | rhettinger | set | recipients:
+ rhettinger, barry, r.david.murray, docs@python, serhiy.storchaka, maxking |
2020-07-26 17:01:41 | rhettinger | set | messageid: <1595782901.62.0.296590233445.issue41400@roundup.psfhosted.org> |
2020-07-26 17:01:41 | rhettinger | link | issue41400 messages |
2020-07-26 17:01:41 | rhettinger | create | |
|