> 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/)