diff options
author | Mark Shannon <mark@hotpy.org> | 2023-01-11 20:40:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 20:40:43 (GMT) |
commit | 6e4e14d98fe0868981f29701496d57a8223c5407 (patch) | |
tree | d97f9422c02a791511267bf5af45071067d1c848 /Lib/importlib | |
parent | 61f12b8ff7073064040ff0e6220150408d24829b (diff) | |
download | cpython-6e4e14d98fe0868981f29701496d57a8223c5407.zip cpython-6e4e14d98fe0868981f29701496d57a8223c5407.tar.gz cpython-6e4e14d98fe0868981f29701496d57a8223c5407.tar.bz2 |
GH-100923: Embed jump mask in `COMPARE_OP` oparg (GH-100924)
Diffstat (limited to 'Lib/importlib')
-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 8a21e0e..cbde913 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -428,6 +428,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.12a1 3512 (Remove all unused consts from code objects) # Python 3.12a1 3513 (Add CALL_INTRINSIC_1 instruction, removed STOPITERATION_ERROR, PRINT_EXPR, IMPORT_STAR) # Python 3.12a1 3514 (Remove ASYNC_GEN_WRAP, LIST_TO_TUPLE, and UNARY_POSITIVE) +# Python 3.12a1 3515 (Embed jump mask in COMPARE_OP oparg) # Python 3.13 will start with 3550 @@ -440,7 +441,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 = (3514).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3515).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c |