Message255530
The docs are correct but are apparently misleading ("rich comparison methods" means all six comparison methods while "rich comparison ordering methods" means only the four that provide order). That said, I think it would be perfectly reasonable to amend the code to supply __ne__ if it is missing. That would be reduce the likelihood of bugs arising when supplied only __eq__ and one of the four ordering methods but not __ne__. |
|
Date |
User |
Action |
Args |
2015-11-28 08:13:15 | rhettinger | set | recipients:
+ rhettinger, ncoghlan, abarry, David Seddon |
2015-11-28 08:13:15 | rhettinger | set | messageid: <1448698395.28.0.624240744648.issue25732@psf.upfronthosting.co.za> |
2015-11-28 08:13:15 | rhettinger | link | issue25732 messages |
2015-11-28 08:13:14 | rhettinger | create | |
|