I need to acquire the GIL for a `__dealloc__` method, but the Cython grammar does not allow this:
cdef __dealloc__ with gil:: "special methods must be `def`"
def __dealloc__ with gil:: Python syntax error (of course)
cpdef __dealloc__ with gil:: see `cdef`
What is the right way to do this?
Jonas
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev
