[Python-checkins] python/dist/src/Misc NEWS, 1.1193.2.49, 1.1193.2.50

mwh at users.sourceforge.net mwh at users.sourceforge.net
Sun Apr 24 21:32:36 CEST 2005


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27864/Misc

Modified Files:
      Tag: release24-maint
	NEWS 
Log Message:
Backport my recent fix (rev. 2.40 of Python/pystate.c):

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.1193.2.49
retrieving revision 1.1193.2.50
diff -u -d -r1.1193.2.49 -r1.1193.2.50
--- NEWS	21 Apr 2005 21:53:28 -0000	1.1193.2.49
+++ NEWS	24 Apr 2005 19:32:27 -0000	1.1193.2.50
@@ -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