[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

Mart Sõmermaa report at bugs.python.org
Fri Mar 13 09:34:12 CET 2009


Mart Sõmermaa <mrts at mrts.pri.ee> added the comment:

> Then why was this classified as a documentation issue?

As the documentation section of
http://docs.python.org/reference/datamodel.html#object.__lt__ needs to
be updated as well to mark the eventual solution as the recommended easy
way to provide total ordering.

> And why did Mart Sömmermaa submit it, and not Raymond? AFAICT, Raymond
said he would propose something when it's ready (which I assume it
currently isn't).

Raymond's recipe at http://code.activestate.com/recipes/576685/ looks
more or less complete, do you feel that his posting on the mailing list
does not count as proposal? I submitted the feature request instead of
him because I was the one who noticed the problem (as discussed on the
mailing list) and felt "responsible" to report it here.

----------

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


More information about the Python-bugs-list mailing list