[issue7915] A lists which list.sort seems to leave out of order.

Thomas Wouters report at bugs.python.org
Fri Feb 12 03:29:20 CET 2010


Thomas Wouters <thomas at python.org> added the comment:

You have a nan in your list of tuples, which screws up the sorting. After the first sort, elements 580395-7 are:

(0.99257340581672904, 551095), 
(nan, 551371),
(6.6494600485570754e-14, 551526),

----------
nosy: +twouters
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7915>
_______________________________________


More information about the Python-bugs-list mailing list