[issue17834] Add Heap (and DynamicHeap) classes to heapq module

R. David Murray report at bugs.python.org
Thu Apr 25 04:09:33 CEST 2013


R. David Murray added the comment:

Serhiy is pointing you to an existing use of heapq in the stdlib.  I'm not quite sure what his intent is in pointing it out, though it *might* be to point out that heapq is a primitive, and PriorityQueue already implements a subclassable class using it.

I don't personally have any opinion either way on the utility of your proposed classes.  I've only ever used PriorityQueue once :)

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list