diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2023-03-23 22:25:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 22:25:09 (GMT) |
commit | 0444ae24875489dc290d8efdb9ee6440ee60dac8 (patch) | |
tree | aaea58348a957d6612899965f7e78256ec1cdc64 /Lib/importlib | |
parent | bd063756b34003c1bc7cacf5b1bd90a409180fb6 (diff) | |
download | cpython-0444ae24875489dc290d8efdb9ee6440ee60dac8.zip cpython-0444ae24875489dc290d8efdb9ee6440ee60dac8.tar.gz cpython-0444ae24875489dc290d8efdb9ee6440ee60dac8.tar.bz2 |
GH-100982: Break up COMPARE_AND_BRANCH (GH-102801)
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/_bootstrap_external.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 3f78300..28e55fd 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -435,7 +435,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.12a6 3519 (Modify SEND instruction) # Python 3.12a6 3520 (Remove PREP_RERAISE_STAR, add CALL_INTRINSIC_2) # Python 3.12a7 3521 (Shrink the LOAD_GLOBAL caches) -# Python 3.12a7 3522 (Removed JUMP_IF_FALSE_OR_POP/JUMP_IF_TRUE_OR_POP) +# Python 3.12a7 3523 (Convert COMPARE_AND_BRANCH back to COMPARE_OP) # Python 3.13 will start with 3550 @@ -452,7 +452,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 = (3522).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3523).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c |