mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221)
This commit is contained in:
parent
32091df41c
commit
0aa8d5cbd8
11 changed files with 56 additions and 46 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue