blist icon indicating copy to clipboard operation
blist copied to clipboard

Add heapq support for blist?

Open idf opened this issue 9 years ago • 1 comments

>>> 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?

idf avatar May 30 '15 15:05 idf

You would have to re-implement the heapq module as it is the standard library that is issuing that error, not blist.

tritium21 avatar Dec 28 '15 05:12 tritium21