Artem Fokin added the comment: Oh, it seems that in current cpython branch this problem is fixed by checking condition _len(h) > 1: http://hg.python.org/cpython/file/1dc925ee441a/Lib/heapq.py#l373 But is it possible to fix it for the previous branches?
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19018> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com