From: Michael W. Hudson Date: Mon, 20 Jun 2005 16:37:03 +0000 (+0000) Subject: Add a(nother) warning about mixing Py_NewInterpreter and the X-Git-Tag: v2.5a0~1672 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb662972e001aa051e5085862cf5eac323e1756f;p=thirdparty%2FPython%2Fcpython.git Add a(nother) warning about mixing Py_NewInterpreter and the PyGILState_* functions. --- diff --git a/Doc/api/init.tex b/Doc/api/init.tex index 940aab9d0857..51b925f5bdd8 100644 --- a/Doc/api/init.tex +++ b/Doc/api/init.tex @@ -131,6 +131,12 @@ objects may affect the wrong (sub-)interpreter's dictionary of loaded modules. (XXX This is a hard-to-fix bug that will be addressed in a future release.) + + Also note that the use of this functionality is incompatible with + extension modules such as PyObjC and ctypes that use the + \cfunction{PyGILState_*} APIs (and this is inherent in the way the + \cfunction{PyGILState_*} functions work). Simple things may work, + but confusing behavior will always be near. \end{cfuncdesc} \begin{cfuncdesc}{void}{Py_EndInterpreter}{PyThreadState *tstate}