Dag Sverre Seljebotn wrote:
> When releasing the GIL, we get a PyThreadState* pointing to our current
> thread state, in _save.

That is true for the nogil-block case, but not for nogil functions.

I don't see a way to retrieve the original thread state from a nogil
function without acquiring the GIL first (maybe I'm missing something). So
how would calling a function that raises an exception work from within a
nogil function?

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to