diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2023-09-13 17:25:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 17:25:45 (GMT) |
commit | 22e65eecaad3f5337862319687047afe9861e1ef (patch) | |
tree | 19089993cd9ec4d1930521c1c3df3cb22b0b9ddc /Lib/importlib | |
parent | 987b4bc0870e1e29a88275dc3fa39bf2c3dcc763 (diff) | |
download | cpython-22e65eecaad3f5337862319687047afe9861e1ef.zip cpython-22e65eecaad3f5337862319687047afe9861e1ef.tar.gz cpython-22e65eecaad3f5337862319687047afe9861e1ef.tar.bz2 |
GH-105848: Replace KW_NAMES + CALL with LOAD_CONST + CALL_KW (GH-109300)
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 d671d17..0019897 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -458,6 +458,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.13a1 3560 (Add RESUME_CHECK instruction) # Python 3.13a1 3561 (Add cache entry to branch instructions) # Python 3.13a1 3562 (Assign opcode IDs for internal ops in separate range) +# Python 3.13a1 3563 (Add CALL_KW and remove KW_NAMES) # Python 3.14 will start with 3600 @@ -474,7 +475,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 = (3562).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3563).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c |