summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2005-04-24 19:32:34 (GMT)
committerMichael W. Hudson <mwh@python.net>2005-04-24 19:32:34 (GMT)
commit14ef205309bf019c28fea1c253bf6b42aba117fe (patch)
treed255f8d570d5f7ac302b9ce007f537bb38ac3aa7 /Misc
parent4d3fec604dadbffe5211c6ca21fa05c72cbceefd (diff)
downloadcpython-14ef205309bf019c28fea1c253bf6b42aba117fe.zip
cpython-14ef205309bf019c28fea1c253bf6b42aba117fe.tar.gz
cpython-14ef205309bf019c28fea1c253bf6b42aba117fe.tar.bz2
Backport my recent fix (rev. 2.40 of Python/pystate.c):
Fix: [ 1176893 ] Readline segfault by unsilly-ing PyGILState_Release(). Backport candidate.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index af55fb7..2406858 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,12 @@ What's New in Python 2.4.2a
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.