[Python-checkins] python/dist/src/Doc/api init.tex,1.24,1.25

mwh@users.sourceforge.net mwh at users.sourceforge.net
Mon Jun 20 18:37:06 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18045

Modified Files:
	init.tex 
Log Message:
Add a(nother) warning about mixing Py_NewInterpreter and the
PyGILState_* functions.


Index: init.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/init.tex,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- init.tex	20 Jun 2005 12:12:45 -0000	1.24
+++ init.tex	20 Jun 2005 16:37:03 -0000	1.25
@@ -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}



More information about the Python-checkins mailing list