Dag Sverre Seljebotn wrote:
def f():
with nogil:
for ...:
A
if something_exceptional:
with gil:
raise Exception(...)
B
C
If that's to be supported, the following really ought to be
supported as well:
def f():
with nogil:
try:
...
with gil:
raise Exception()
finally:
...do some cleanup...
--
Greg
_______________________________________________
cython-devel mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cython-devel
