[Python-checkins] python/dist/src/Misc NEWS,1.1284,1.1285

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/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26324/Misc

Modified Files:
	NEWS 
Log Message:
Fix:

[ 1176893 ] Readline segfault

by unsilly-ing PyGILState_Release().

Backport candidate.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1284
retrieving revision 1.1285
diff -u -d -r1.1284 -r1.1285
--- NEWS	9 Apr 2005 10:53:34 -0000	1.1284
+++ NEWS	18 Apr 2005 08:46:07 -0000	1.1285
@@ -12,6 +12,12 @@
 Core and builtins
 -----------------
 
+- It is now safe to call PyGILState_Release() before
+  PyEval_InitThreads() (note that if there is reason to believe there
+  are multiple threads around you still must call PyEval_InitThreads()
+  before using the Python API; this fix is for extension modules that
+  have no way of knowing if Python is multi-threaded yet).
+
 - Typing Ctrl-C whilst raw_input() was waiting in a build with threads
   disabled caused a crash.
 



More information about the Python-checkins mailing list