diff options
author | Mark Shannon <mark@hotpy.org> | 2020-11-12 10:42:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 10:42:44 (GMT) |
commit | c6409156c4f0743dfb3d625c4e024a8258fc6181 (patch) | |
tree | ef1ef4776b86c61b7a4ad577c6ca1b4ef1346398 /Lib/importlib/_bootstrap_external.py | |
parent | fd4ed57674c675e05bd5d577dd5047a333c76c78 (diff) | |
download | cpython-c6409156c4f0743dfb3d625c4e024a8258fc6181.zip cpython-c6409156c4f0743dfb3d625c4e024a8258fc6181.tar.gz cpython-c6409156c4f0743dfb3d625c4e024a8258fc6181.tar.bz2 |
Bump magic number. (GH-23245)
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 b08ad03..5c30a67 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -278,6 +278,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.9a2 3424 (simplify bytecodes for *value unpacking) # Python 3.9a2 3425 (simplify bytecodes for **value unpacking) # Python 3.10a1 3430 (Make 'annotations' future by default) +# Python 3.10a1 3431 (New line number table format -- PEP 626) # # MAGIC must change whenever the bytecode emitted by the compiler may no @@ -287,7 +288,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 = (3430).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3431).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c _PYCACHE = '__pycache__' |