[Numpy-discussion] Re Dealloat Numy arrays in C

Jeremy Lewi jlewi at intellisis.com
Thu Apr 1 11:52:44 EDT 2010


Thanks Robert.

I ended up letting Python handle the memory management. In my C-extension I
just call Py_INCREF to prevent Python from deallocating it while I'm using
it. I then call Py_DECREF once I'm done with it.

Jeremy




More information about the NumPy-Discussion mailing list