diff options
author | Michael W. Hudson <mwh@python.net> | 2005-04-24 19:32:34 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2005-04-24 19:32:34 (GMT) |
commit | 14ef205309bf019c28fea1c253bf6b42aba117fe (patch) | |
tree | d255f8d570d5f7ac302b9ce007f537bb38ac3aa7 /Misc | |
parent | 4d3fec604dadbffe5211c6ca21fa05c72cbceefd (diff) | |
download | cpython-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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |