[issue12334] Strange sort error

2011-06-14 Thread Reinhard Engel
Reinhard Engel added the comment: Sorry, oversaw silly error in comparison! -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue12334] Strange sort error

2011-06-14 Thread Reinhard Engel
New submission from Reinhard Engel : # Strange sort error # lst1 and lst 2 produce different results, but should be same # lst1 should sort by length of items, but doesn't, lst2 does! lst0 = ['ab-get-ratings-max', 'ab-get-ratings-min', 'ab-rate-position',