New submission from Guilherme Polo: Wouldn't it be useful to add a "key" argument to some heapq functions ? So you could construct a heap from dict items list based on the second item of each tuple, for example.
---------- components: Library (Lib) messages: 61496 nosy: gpolo severity: normal status: open title: Add key argument to heapq functions type: behavior versions: Python 2.6, Python 3.0 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1904> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com