In python 3.4 PyMem_RawMalloc, PyMem_RawCalloc, PyMem_RawRealloc, and PyMem_RawFree were added which allow memory management without requiring the GIL to be held (as opposed to the non-Raw versions). It would be great if those wrappers were available via py3c for earlier Python versions.
In python 3.4
PyMem_RawMalloc
,PyMem_RawCalloc
,PyMem_RawRealloc
, andPyMem_RawFree
were added which allow memory management without requiring the GIL to be held (as opposed to the non-Raw versions). It would be great if those wrappers were available via py3c for earlier Python versions.https://github.com/python/cpython/blob/master/Include/pymem.h#L15-L18