Jonas H. wrote:
> I need to acquire the GIL for a `__dealloc__` method,

Are you sure? The only way __dealloc__ can get called is
when a Py_DECREF drops the object's reference count to
zero, and nobody should be calling Py_DECREF without
holding the GIL.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to