diff options
-rw-r--r-- | Parser/intrcheck.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c index 5213573..92fab1c 100644 --- a/Parser/intrcheck.c +++ b/Parser/intrcheck.c @@ -137,6 +137,8 @@ PyErr_SetInterrupt() interrupted = 1; } +extern int sigcheck(); + /* ARGSUSED */ static RETSIGTYPE #ifdef _M_IX86 @@ -161,6 +163,7 @@ intcatcher(sig) break; } signal(SIGINT, intcatcher); + Py_AddPendingCall(sigcheck, NULL); } void |