diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 6fe516a87ef..fb525f86f84 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -136,7 +136,7 @@ signal_handler(int sig_num) reset until explicit re-instated. Don't clear the 'func' field as it is our pointer to the Python handler... */ - return; + Py_RETURN_FROM_SIGNAL_HANDLER(0); } #endif #ifdef HAVE_SIGINTERRUPT