diff options
author | Mark Shannon <mark@hotpy.org> | 2023-06-13 09:34:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 09:34:27 (GMT) |
commit | c3d2d64b4c53203719466b32df60ea76f7312891 (patch) | |
tree | ec37e38f097b32d7413711405600f0b07ed923a0 /Lib/importlib | |
parent | 09ffa69e2e84950751739ab500f820725e00a3dd (diff) | |
download | cpython-c3d2d64b4c53203719466b32df60ea76f7312891.zip cpython-c3d2d64b4c53203719466b32df60ea76f7312891.tar.gz cpython-c3d2d64b4c53203719466b32df60ea76f7312891.tar.bz2 |
Fix magic number (GH-105722)
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/_bootstrap_external.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 1d27b74..707dd7b 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -447,8 +447,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.12b1 3531 (Add PEP 695 changes) # Python 3.13a1 3550 (Plugin optimizer support) # Python 3.13a1 3551 (Compact superinstructions) - -# Python 3.13a1 3554 (Add SET_FUNCTION_ATTRIBUTE) +# Python 3.13a1 3552 (Add SET_FUNCTION_ATTRIBUTE) # Python 3.14 will start with 3600 @@ -465,7 +464,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 = (3554).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3552).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c |