PQueue and Python 2.5

Berteun Damman berteun at gmail.com
Mon Jan 22 04:48:05 EST 2007


Gabriel Genellina wrote:
> Python got in 2.3 a heapq module in its standard library; I think it is what

> Ah! then I bet:
> - There is some C code involved.
> - It carelessly mixes PyMem_Malloc with PyObject_Free or similar as
> described in
> http://docs.python.org/whatsnew/ports.html
>
> So do yourself a favor and forget about such old piece of code...

I would be happy to do so, but it does suit my needs quite well. :) But
everybody thanks for pointing out the probable cause, I never did
anything with C-extentions before, so I wasn't aware of the 2.5
changes. But I'll look into the code.

Berteun




More information about the Python-list mailing list