Facundo Batista wrote:
Using the module heapq, I found that it's not easy to use. Or, at least, that it could be straightforward to use. [...] So, I basically coded it. What do you think about including this class in the heap module?
I did something similar a couple of years ago (and I doubt that I'm the only one). You should be able to find it in the bug tracker (no longer open).