[Python-Dev] decorate-sort-undecorate

Christopher A. Craig list-python-dev at ccraig.org
Wed Oct 15 09:41:26 EDT 2003


If this goes in can we document that adding a key parameter makes the
sort stable and key=None causes a stable sort to happen?  Current
CPython won't have to do anything at all with that, but other Pythons
(or a future CPython where a mythical faster-than-timsort nonstable
sort is discovered) would have a documented way to force stability.

-- 
Christopher A. Craig <list-python-dev at ccraig.org>



More information about the Python-Dev mailing list