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 rhettinger
Recipients Mikołaj Babiak, ncoghlan, rhettinger
Date 2017-09-24.17:18:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506273502.09.0.214603412729.issue31145@psf.upfronthosting.co.za>
In-reply-to
Content
Nick, what do you think about this proposal?

The problem being solved is that decorated tuples no longer work well for controlling ordering (because so many types are now non-comparable).  This provides a wrapper to control which fields are used in comparison.

For implementation and API, there are several ways to do it, (accept separate arguments vs accept an existing sequence, standalone class vs a tuple subclass, pure python and/or c-implementation, etc).
History
Date User Action Args
2017-09-24 17:18:22rhettingersetrecipients: + rhettinger, ncoghlan, Mikołaj Babiak
2017-09-24 17:18:22rhettingersetmessageid: <1506273502.09.0.214603412729.issue31145@psf.upfronthosting.co.za>
2017-09-24 17:18:22rhettingerlinkissue31145 messages
2017-09-24 17:18:22rhettingercreate