[issue4424] Add support for a cmp, or key argument to heapq functions.

Raymond Hettinger report at bugs.python.org
Tue Nov 25 06:40:12 CET 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

This is a duplicate of a previously rejected request.  The usual
approach is to load the heap with (priority, record) tuples.

----------
nosy: +rhettinger
resolution:  -> duplicate
status: open -> closed

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


More information about the Python-bugs-list mailing list