Message233228
This looks like a nice, relatively simple improvement in both speed and introspection support, so +1 from me.
Something I've wondered since we changed total_ordering to handle NotImplemented correctly is whether it would be worth exposing more of the *components* of rich boolean comparison operations through the operator module. Currently it isn't possible to access the individual steps, which is why handling NotImplemented incurred such a large performance hit relative to the previous implementation that didn't worry about it (but also potentially hit RecursionError if the underlying comparison operation returned NotImplemented). |
|
Date |
User |
Action |
Args |
2014-12-31 05:55:55 | ncoghlan | set | recipients:
+ ncoghlan, rhettinger, serhiy.storchaka |
2014-12-31 05:55:55 | ncoghlan | set | messageid: <1420005355.79.0.110375911416.issue23132@psf.upfronthosting.co.za> |
2014-12-31 05:55:55 | ncoghlan | link | issue23132 messages |
2014-12-31 05:55:54 | ncoghlan | create | |
|