[issue27295] heaps library does not have support for max heap
Raymond Hettinger
report at bugs.python.org
Sat Jun 11 16:39:10 EDT 2016
Raymond Hettinger added the comment:
Sorry James, we don't grow the APIs without sufficient demonstrated need; otherwise, we end-up with API sprawl. People with actual use cases haven't requested behavior (and the occasional one-off gets by negating the numeric argument). That is why the maxheap functions were intentionally made private.
FWIW, this module is very old and the core functions have long proven themselves sufficient to meet their use cases (like being used in an event loop to efficiently select the next scheduled event).
----------
resolution: -> rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27295>
_______________________________________
More information about the Python-bugs-list
mailing list