[Python-checkins] python/dist/src/Python pystate.c,2.39,2.40
mwh at users.sourceforge.net
mwh at users.sourceforge.net
Mon Apr 18 10:46:19 CEST 2005
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26324/Python
Modified Files:
pystate.c
Log Message:
Fix:
[ 1176893 ] Readline segfault
by unsilly-ing PyGILState_Release().
Backport candidate.
Index: pystate.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pystate.c,v
retrieving revision 2.39
retrieving revision 2.40
diff -u -d -r2.39 -r2.40
--- pystate.c 8 Feb 2005 02:07:57 -0000 2.39
+++ pystate.c 18 Apr 2005 08:46:17 -0000 2.40
@@ -503,6 +503,6 @@
}
/* Release the lock if necessary */
else if (oldstate == PyGILState_UNLOCKED)
- PyEval_ReleaseThread(tcur);
+ PyEval_SaveThread();
}
#endif /* WITH_THREAD */
More information about the Python-checkins
mailing list