C API and memory allocation

Stefan Behnel stefan_ml at behnel.de
Thu Dec 18 01:43:21 EST 2008


Floris Bruynooghe wrote:
> I'm slightly confused about some memory allocations in the C API.

If you want to reduce the number of things you have to get your head
around, learn Cython instead of the raw C-API. It's basically Python, does
all the reference counting for you and also reduces the amount of memory
handling you have to care about.

http://cython.org/

Stefan



More information about the Python-list mailing list