Re: [Cython] `_save` was not declared when cathing C++ exceptions in nogil cdef function

2013-01-26 Thread Matěj Laitl
On 22. 1. 2013 Matěj Laitl wrote: > Hi again, > another minor problem I've stumbled upon - when I call an "except +" > function in a cdef ... nogil function, gcc fails to compile the .cpp file. > Perhaps a missing PyThreadState *_save; declaration in case of nogil > functions? Okay, I think I've

[Cython] `_save` was not declared when cathing C++ exceptions in nogil cdef function

2013-01-22 Thread Matěj Laitl
Hi again, another minor problem I've stumbled upon - when I call an "except +" function in a cdef ... nogil function, gcc fails to compile the .cpp file. Perhaps a missing PyThreadState *_save; declaration in case of nogil functions? Cython 0.18b1 3e37475ec5098eef2c421. Attached patch trivially