blist
blist copied to clipboard
Add heapq support for blist?
>>> a = blist([1, 2, 3])
>>> heapq.heapify(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: heap argument must be a list
Is there any plan to add heapq support for blist?
You would have to re-implement the heapq module as it is the standard library that is issuing that error, not blist.