[issue39117] Performance regression for making bound methods
STINNER Victor
report at bugs.python.org
Tue Apr 28 17:51:46 EDT 2020
STINNER Victor <vstinner at python.org> added the comment:
By the way, in sorted(data, key=str.upper): str.upper is an unbound method, no?
$ ./python
Python 3.9.0a6+ (heads/master:d9a43e20fa, Apr 28 2020, 23:50:37)
>>> type(str.upper)
<class 'method_descriptor'>
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39117>
_______________________________________
More information about the Python-bugs-list
mailing list