On Apr 14, 2009, at 11:49 PM, Dag Sverre Seljebotn wrote: > Robert Bradshaw wrote: >> >> OK, pushed. http://hg.cython.org/cython-devel/rev/a09a309febdc > > Note that this now segfaults: > > @cython.cdivision(False) > def f(): > cdef int a=10, b=0 > with nogil: > a = a // b > return a
Ah, because raising the exception requires the GIL. I'll have to add a check in this case. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
