[issue1717] Get rid of more refercenes to __cmp__

Antoine Pitrou report at bugs.python.org
Tue Dec 9 00:52:49 CET 2008


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

IMO PyUnicode_Compare() should be replaced by a hypothetical
PyObject_RichCompare(), which allows to take shortcuts when comparing
strings of different length and a Py_EQ or Py_NE comparison is requested.
(see #3106 too)

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list