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

Daniel Wong report at bugs.python.org
Thu Apr 25 01:27:43 CEST 2013


Daniel Wong added the comment:

Hey Serhiy,

Are you suggesting that I put my new classes in a new module and rename them? I think it'd be better to keep them in heapq, unless someone intended to add more classes to your proposed queue module, because heap functionality would be spread between two modules (heapq and queue).

One could argue that these classes could go in the collections module, but I think sticking to heapq is best.

----------

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


More information about the Python-bugs-list mailing list