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

Alex report at bugs.python.org
Tue Nov 25 05:39:24 CET 2008


New submission from Alex <alex.gaynor at gmail.com>:

Currently the heapq module can only really be used if your data has it's
own ordering defined.  There is no way to do a custom ordering.  From my
cursory review of the code it looks like some of the lower level
functions actually take these kwargs, but the public interface does not.

----------
components: Library (Lib)
messages: 76398
nosy: alex
severity: normal
status: open
title: Add support for a cmp, or key argument to heapq functions.

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


More information about the New-bugs-announce mailing list