diff options
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index afaa6ff..2be02a1 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -597,8 +597,8 @@ handle_signals(PyThreadState *tstate) } UNSIGNAL_PENDING_SIGNALS(tstate); - if (_PyErr_CheckSignals() < 0) { - /* We're not done yet */ + if (_PyErr_CheckSignalsTstate(tstate) < 0) { + /* On failure, re-schedule a call to handle_signals(). */ SIGNAL_PENDING_SIGNALS(tstate); return -1; } |