mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Add a(nother) warning about mixing Py_NewInterpreter and the
PyGILState_* functions.
This commit is contained in:
parent
7390942aa1
commit
fb662972e0
1 changed files with 6 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue