On 03/16/2011 01:55 PM, mark florisson wrote:

but it doesn't catch this:

cdef void func() nogil:
     with nogil:
         pass

with nogil:
     func()

I would say that in that case, func() should acquire the
gil on entry so that it can be released in the 'with nogil'
block.

Either that or find some way to generate code that tests
whether the gil is currently held and releases it if it
is.

--
Greg
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to