diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/signalmodule.c | 5 |
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; |