[Python-Dev] timsort for jython

Tim Peters tim.one@comcast.net
Mon, 05 Aug 2002 12:28:25 -0400


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

[Guido]
> 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.

What, you mean you haven't retroactively redefined -1 to be False yet?  For
shame <wink>.