Message134003
It may seem pointless, but it takes less than a minute to do it and it would be both faster and clearer to do it manually. There's a limit to how much implicit code generation can or should be done automatically.
Also, I'm not too keen on the feature creep, or having the tool grow in complexity (making it harder to understand what it actually does). I would also be concerned about subtly changing the semantics for code that may already be using total_ordering -- the proposed change is probably harmless in most cases with only a minor performance hit, but it might break some code that currently works.
BTW, in Py3.x you get __ne__ for free whenever __eq__ is supplied. |
|
Date |
User |
Action |
Args |
2011-04-18 23:32:00 | rhettinger | set | recipients:
+ rhettinger, eric.araujo, lregebro, francescor, python-dev, javawizard |
2011-04-18 23:32:00 | rhettinger | set | messageid: <1303169520.17.0.284245598895.issue10042@psf.upfronthosting.co.za> |
2011-04-18 23:31:59 | rhettinger | link | issue10042 messages |
2011-04-18 23:31:59 | rhettinger | create | |
|