Mercurial > cpython-lru_cache-weakref
diff Doc/api/init.tex @ 35116:2fb0c76d0251 legacy-trunk
Add a(nother) warning about mixing Py_NewInterpreter and the
PyGILState_* functions.
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Mon, 20 Jun 2005 16:37:03 +0000 |
| parents | 585059de2b40 |
| children | 9697eeeaf246 |
line wrap: on
line diff
--- a/Doc/api/init.tex Mon Jun 20 13:45:34 2005 +0000 +++ b/Doc/api/init.tex Mon Jun 20 16:37:03 2005 +0000 @@ -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}
