summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-02-18 12:56:23 (GMT)
committerGitHub <noreply@github.com>2022-02-18 12:56:23 (GMT)
commite2c28616ce6c3cdb1013c415125220a0b86b86a1 (patch)
tree4807fb6355148a12a09fc2ad8b305de9fe6543b3 /Python
parentc3ce7781e3afe6f2dec5eef8e87fd5a664519ae9 (diff)
downloadcpython-e2c28616ce6c3cdb1013c415125220a0b86b86a1.zip
cpython-e2c28616ce6c3cdb1013c415125220a0b86b86a1.tar.gz
cpython-e2c28616ce6c3cdb1013c415125220a0b86b86a1.tar.bz2
bpo-46709: check eval breaker in specialized `CALL` opcodes (GH-31404)
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index b900de5..5a6de5b 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -4742,6 +4742,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
}
@@ -4761,6 +4762,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
}
@@ -4785,6 +4787,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
}
@@ -4816,6 +4819,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
}
@@ -4854,6 +4858,7 @@ handle_eval_breaker:
*/
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
}
@@ -4896,6 +4901,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
}
@@ -5013,6 +5019,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
}
@@ -5040,6 +5047,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
}
@@ -5067,6 +5075,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
+ CHECK_EVAL_BREAKER();
DISPATCH();
}