This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gpolo
Recipients gpolo
Date 2008-01-22.10:54:01
SpamBayes Score 0.020095242
Marked as misclassified No
Message-id <1200999243.33.0.342848472968.issue1904@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-01-22 10:54:03gpolosetspambayes_score: 0.0200952 -> 0.020095242
recipients: + gpolo
2008-01-22 10:54:03gpolosetspambayes_score: 0.0200952 -> 0.0200952
messageid: <1200999243.33.0.342848472968.issue1904@psf.upfronthosting.co.za>
2008-01-22 10:54:02gpololinkissue1904 messages
2008-01-22 10:54:02gpolocreate