[issue24221] Clean-up and optimization for heapq siftup() and siftdown()

Serhiy Storchaka report at bugs.python.org
Fri May 22 10:44:14 CEST 2015


Serhiy Storchaka added the comment:

The list item pointer is updated just after calling PyObject_RichCompareBool(). The code LGTM.

----------

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


More information about the Python-bugs-list mailing list