We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b325b6 commit 4486dcdCopy full SHA for 4486dcd
Modules/main.c
@@ -287,6 +287,7 @@ pymain_run_module(const wchar_t *modname, int set_argv0)
287
Py_DECREF(module);
288
return pymain_exit_err_print();
289
}
290
+ _Py_UnhandledKeyboardInterrupt = 0;
291
result = PyObject_Call(runmodule, runargs, NULL);
292
if (!result && PyErr_Occurred() == PyExc_KeyboardInterrupt) {
293
_Py_UnhandledKeyboardInterrupt = 1;
0 commit comments