This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ncoghlan, rhettinger, serhiy.storchaka
Date 2014-12-31.05:55:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420005355.79.0.110375911416.issue23132@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-12-31 05:55:55ncoghlansetrecipients: + ncoghlan, rhettinger, serhiy.storchaka
2014-12-31 05:55:55ncoghlansetmessageid: <1420005355.79.0.110375911416.issue23132@psf.upfronthosting.co.za>
2014-12-31 05:55:55ncoghlanlinkissue23132 messages
2014-12-31 05:55:54ncoghlancreate