Skip to content

Commit 71e1aec

Browse files
committed
Print the error before bailing out.
1 parent 481caf5 commit 71e1aec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/pylifecycle.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3497,6 +3497,7 @@ wait_for_native_shutdown(PyInterpreterState *interp)
34973497
}
34983498

34993499
if (PyErr_CheckSignals()) {
3500+
PyErr_Print();
35003501
// The user CTRL+C'd us, bail out without waiting for a reference
35013502
// count of zero.
35023503
//

0 commit comments

Comments
 (0)