[Python-checkins] python/dist/src/Python pystate.c,2.26,2.27
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Wed, 30 Apr 2003 22:25:32 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv28542
Modified Files:
pystate.c
Log Message:
Patch #729300: Disable error message if Python is not built for threads.
Index: pystate.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pystate.c,v
retrieving revision 2.26
retrieving revision 2.27
diff -C2 -d -r2.26 -r2.27
*** pystate.c 19 Apr 2003 15:41:49 -0000 2.26
--- pystate.c 1 May 2003 05:25:29 -0000 2.27
***************
*** 265,269 ****
builds.
*/
! #if defined(Py_DEBUG)
if (new) {
PyThreadState *check = PyGILState_GetThisThreadState();
--- 265,269 ----
builds.
*/
! #if defined(Py_DEBUG) && defined(WITH_THREAD)
if (new) {
PyThreadState *check = PyGILState_GetThisThreadState();