How to free /destroy object created by PyTuple_New

Andrew Svetlov andrew.svetlov at gmail.com
Sat Apr 4 16:27:56 CEST 2009


To destroy every python object you need to call Py_DECREF.
To call python code fron you C thread you need to use pair
PyGILState_Ensure/PyGILState_Release.



More information about the Python-list mailing list