[issue4174] Performance optimization for min() and max() over lists
Antoine Pitrou
report at bugs.python.org
Wed Oct 22 21:03:35 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
> Antoine, the list can mutate even when the keyfunc is NULL. The rich
> comparison can callback to arbitrary Python code.
Ouch, you are right.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4174>
_______________________________________
More information about the Python-bugs-list
mailing list