[issue1717] Get rid of more refercenes to __cmp__

Raymond Hettinger report at bugs.python.org
Tue Dec 9 21:26:46 CET 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Guido approved removing __builtin__.cmp() in 3.0.1.  It was supposed to
have been taken out but was forgotten.

With respect to the DRY principle, I disagree about its utility here. 
The code is so simple that it doesn't warrant cross-module
factorization.  It is a better goal to minimize dependencies.

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


More information about the Python-bugs-list mailing list