[issue15751] Add PyGILState_SwitchInterpreter

Graham Dumpleton report at bugs.python.org
Wed Aug 22 00:36:40 CEST 2012


Graham Dumpleton added the comment:

Those macros only work for general GIL releasing and pop straight away, not for the case where released, calls into some non Python C library, which then calls back into Python.

My recollection is, and so unless they have changed it, SWIG generated calls use the GILState calls. See:

https://issues.apache.org/jira/browse/MODPYTHON-217

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15751>
_______________________________________


More information about the Python-bugs-list mailing list