[Python-checkins] python/dist/src/Misc NEWS,1.1281,1.1282
mwh at users.sourceforge.net
mwh at users.sourceforge.net
Thu Apr 7 12:11:24 CEST 2005
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10399/Misc
Modified Files:
NEWS
Log Message:
In a threads-disabled build, typing Ctrl-C into a raw_input() crashed,
because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS
actually expanded to nothing under a no-threads build, so if you somehow
NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would
stay NULLed when you return to Python. Argh!
Backport candidate.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1281
retrieving revision 1.1282
diff -u -d -r1.1281 -r1.1282
--- NEWS 31 Mar 2005 13:57:35 -0000 1.1281
+++ NEWS 7 Apr 2005 10:11:19 -0000 1.1282
@@ -12,6 +12,9 @@
Core and builtins
-----------------
+- Typing Ctrl-C whilst raw_input() was waiting in a build with threads
+ disabled caused a crash.
+
- Bug #1165306: instancemethod_new allowed the creation of a method
with im_class == im_self == NULL, which caused a crash when called.
More information about the Python-checkins
mailing list