[issue21185] heapq fails to print in sorted order for certain inputs

Josh Rosenberg report at bugs.python.org
Wed Apr 9 23:35:37 CEST 2014


Josh Rosenberg added the comment:

By the way, in the top answer to the Stack Overflow post you linked, it's clear that the list wasn't sorted. [44, 42, 3, 89, 10] became [3, 10, 44, 89, 42], and you'll notice, the last three elements are out of order.

----------

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


More information about the Python-bugs-list mailing list