diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2024-01-06 14:20:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-06 14:20:08 (GMT) |
commit | d36a36511899bd8dc9adf5fc354e8ff7c611c51d (patch) | |
tree | 71e7c9eb5020597bb8606ced3269c1b2e91d08c0 /Lib/importlib/_bootstrap_external.py | |
parent | bb4c16706059f2b10f077dce6a9f9f04e146d424 (diff) | |
download | cpython-d36a36511899bd8dc9adf5fc354e8ff7c611c51d.zip cpython-d36a36511899bd8dc9adf5fc354e8ff7c611c51d.tar.gz cpython-d36a36511899bd8dc9adf5fc354e8ff7c611c51d.tar.bz2 |
gh-107901: synthetic jumps which are not at end of loop no longer check the eval breaker (#113721)
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
-rw-r--r-- | Lib/importlib/_bootstrap_external.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index d537598..97858ee 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -462,6 +462,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.13a1 3563 (Add CALL_KW and remove KW_NAMES) # Python 3.13a1 3564 (Removed oparg from YIELD_VALUE, changed oparg values of RESUME) # Python 3.13a1 3565 (Oparg of YIELD_VALUE indicates whether it is in a yield-from) +# Python 3.13a1 3566 (Emit JUMP_NO_INTERRUPT instead of JUMP for non-loop no-lineno cases) # Python 3.14 will start with 3600 @@ -478,7 +479,7 @@ _code_type = type(_write_atomic.__code__) # Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array # in PC/launcher.c must also be updated. -MAGIC_NUMBER = (3565).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3566).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c |