summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-10-01 16:44:03 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-10-01 16:44:03 (GMT)
commit1390dd7c9b1f621e0c31c60547d0beb5d432fb06 (patch)
tree5300e31f57ba43fff17345a5476a72f9f95aabec /Modules
parent20ad3634af3dda11f71189f0997e4aa832a5c740 (diff)
downloadcpython-1390dd7c9b1f621e0c31c60547d0beb5d432fb06.zip
cpython-1390dd7c9b1f621e0c31c60547d0beb5d432fb06.tar.gz
cpython-1390dd7c9b1f621e0c31c60547d0beb5d432fb06.tar.bz2
Merged revisions 85140 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85140 | brian.curtin | 2010-10-01 09:49:24 -0500 (Fri, 01 Oct 2010) | 4 lines Fix #10003. Add SIGBREAK to the set of valid signals on Windows. This fixes a regression noticed by bzr, introduced by issue #9324. ........
Diffstat (limited to 'Modules')
-rw-r--r--Modules/signalmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 5aeee4c..b49e13c 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -261,6 +261,11 @@ signal_signal(PyObject *self, PyObject *args)
/* Validate that sig_num is one of the allowable signals */
switch (sig_num) {
case SIGABRT: break;
+#ifdef SIGBREAK
+ /* Issue #10003: SIGBREAK is not documented as permitted, but works
+ and corresponds to CTRL_BREAK_EVENT. */
+ case SIGBREAK: break;
+#endif
case SIGFPE: break;
case SIGILL: break;
case SIGINT: break;