diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-04-05 11:49:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 11:49:08 (GMT) |
commit | 0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70 (patch) | |
tree | b28edee28c5dd4cf022135e1204421c9795b3e38 /Python/ceval.c | |
parent | 32091df41ce6e3a71df2cf37dc74b728c0d885f2 (diff) | |
download | cpython-0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70.zip cpython-0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70.tar.gz cpython-0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70.tar.bz2 |
bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221)
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 f7e08c6..9b7c42c 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -4045,13 +4045,13 @@ handle_eval_breaker: DISPATCH(); } - TARGET(JUMP_NO_INTERRUPT) { + TARGET(JUMP_BACKWARD_NO_INTERRUPT) { /* This bytecode is used in the `yield from` or `await` loop. * If there is an interrupt, we want it handled in the innermost * generator or coroutine, so we deliberately do not check it here. * (see bpo-30039). */ - JUMPTO(oparg); + JUMPBY(-oparg); DISPATCH(); } |