Darn. When thread support is disabled, the BEGIN/END macros don't
save and restore the tstate, but explicitly calling PyEval_SaveThread() does reset it! While I think about how to fix this for real, here's a fix that avoids getting a fatal error.
Showing
Please register or sign in to comment