Thomas Wouters <tho...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue7915> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com