[New-bugs-announce] [issue27295] heaps library does not have support for max heap

James Lu report at bugs.python.org
Sat Jun 11 09:49:52 EDT 2016


New submission from James Lu:

Both max heaps and min heaps have uses in algorithms. Some algorithms require both. Why doesn't the heapq library support max heaps (not including the private _heapify_max() method)?

----------
components: Library (Lib)
messages: 268211
nosy: James.Lu
priority: normal
severity: normal
status: open
title: heaps library does not have support for max heap

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


More information about the New-bugs-announce mailing list