Message411348
The problem is that the optimization no longer checks for pending signals in TARGET(CALL_NO_KW_BUILTIN_FAST). The patch below fix my issue. I guess that other opcode needs an additional CHECK_EVAL_BREAKER().
diff --git a/Python/ceval.c b/Python/ceval.c
index 9aaddd99eda..7cc0f805366 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -4822,6 +4822,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, InterpreterFrame *frame, int thr
*/
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
} |
|
Date |
User |
Action |
Args |
2022-01-23 05:50:39 | vstinner | set | recipients:
+ vstinner, gvanrossum, Mark.Shannon, eric.snow, corona10, kj |
2022-01-23 05:50:39 | vstinner | set | messageid: <1642917039.18.0.48532765153.issue46465@roundup.psfhosted.org> |
2022-01-23 05:50:39 | vstinner | link | issue46465 messages |
2022-01-23 05:50:39 | vstinner | create | |
|