Sorting without transitivity

Anton Vredegoor anton at vredegoor.doge.nl
Tue Apr 29 16:21:11 EDT 2003


Frank Niessink <frank at niessink.com> wrote:

>Any comments? Suggestions for improvements?

There's probably an indentation error at the last else clause. However
the code happily runs, and pychecker doesn't complain about it either.
If I "correct" the indentation the code goes into an endless loop for
a simple test like:

print tlist([1,2,3])

Anton






More information about the Python-list mailing list