[issue1717] Get rid of more refercenes to __cmp__

Antoine Pitrou report at bugs.python.org
Tue Dec 9 16:06:55 CET 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

> The idea was to have one implementation of the work-around (a>b) - (b<a)
> instead of 10 or so instances of this snippet in the Python stdlib
> and probably a few hundred places in other code.

But what use-case does it solve, except for making legacy code easier to
port to Py3k?

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


More information about the Python-bugs-list mailing list