[issue10042] total_ordering

Francesco Ricciardi report at bugs.python.org
Thu Apr 21 11:58:39 CEST 2011


Francesco Ricciardi <francescor2010 at yahoo.it> added the comment:

On the one hand, it's not just a matter of total_ordering and rich comparison operators, because all user defined operators may return NotImplemented when they get types that they don't know how to handle.

On the other hand, if such a decision is taken, a long path should be planned to move handling of unknown types from one way to the other.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10042>
_______________________________________


More information about the Python-bugs-list mailing list