diff options
author | Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | 2021-04-06 17:44:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 17:44:50 (GMT) |
commit | 50616223d1043f0f83534ffec38709439b8a49ab (patch) | |
tree | 1d4a3eba68ee70a0f455398db9e136271876b2b5 /Lib/importlib/_bootstrap_external.py | |
parent | 5143fd15b4fe5e122c79e3be4745031f17bb4d8e (diff) | |
download | cpython-50616223d1043f0f83534ffec38709439b8a49ab.zip cpython-50616223d1043f0f83534ffec38709439b8a49ab.tar.gz cpython-50616223d1043f0f83534ffec38709439b8a49ab.tar.bz2 |
bump the bytecode magic number (GH-25225)
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
-rw-r--r-- | Lib/importlib/_bootstrap_external.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 34f554a..be11cfe 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -325,7 +325,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 = (3435).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3436).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c _PYCACHE = '__pycache__' |