[issue1717] Get rid of more references to __cmp__

Nils Kattenbeck report at bugs.python.org
Wed May 26 13:49:27 EDT 2021


Nils Kattenbeck <nilskemail at gmail.com> added the comment:

Has there been any resolution regarding `sortTestMethodsUsing`? See https://bugs.python.org/msg77261

I spend a decent time and read the documentation thrice before realizing it received an old-style compare function. Brett's proposal for a new attribute seems like a sane way to do this without breaking backwards compatibility. Or will this continue using an old-style compare function for the foreseeable future?

----------
nosy: +Nils Kattenbeck

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


More information about the Python-bugs-list mailing list