Raymond Hettinger added the comment:

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).

----------
nosy: +ncoghlan
priority: normal -> low

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31145>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to