[Python-Dev] add a list.stablesort() method?
Brian Quinlan
brian at sweetapp.com
Thu Nov 13 04:00:16 EST 2003
> As of Python 2.3, list.sort() *is* stable, but we're told not to
> rely on that behavior. [1] In particular, it might change for
> future versions/alternate implementations of Python.
You missed Guido's pronouncement on this issue:
http://mail.python.org/pipermail/python-dev/2003-October/038773.html
The bottom line is: "OK, I pronounce on this: Python's list.sort() shall be
stable."
Cheers,
Brian
More information about the Python-Dev
mailing list