[Python-Dev] timsort for jython

Guido van Rossum guido@python.org
Mon, 05 Aug 2002 12:16:49 -0400


> BTW, list.sort() is stable in CPython iff
> 
>     [].sort.__doc__.find('stable')
> 
> is true.

Um, you meant "is >= 0".  The find() method doesn't return a bool, it
returns the first index where the string is found, and -1 if it is not
found.

--Guido van Rossum (home page: http://www.python.org/~guido/)