Lisandro Dalcin wrote: > Stephane, let's change our deal... Here you have a patch with new > testcase included, you can use "hg import --no-commit > cpp_exc_nogil.diff" to apply the patch. > > Try to run the test on your side (python runtests.py > cpp_exceptions_nogil), next test with your own code. Next try hard to > break my fix . If all is fine, I'll push it.
I checked your patch with my code and it really fixes the issue. I also added some tests to raise interrupts within an except clause and a finally clause. Question: do you plan or not to support the same for 'except *' and 'except[?] <value>'? If not, you should maybe issue and error if such functions are declared nogil. Cheers, Stephane
cpp_exceptions_nogil.pyx
Description: cpp_exceptions_nogil.pyx
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
