bump the bytecode magic number (GH-25225)

This commit is contained in:
Dennis Sweeney 2021-04-06 13:44:50 -04:00 committed by GitHub
parent 5143fd15b4
commit 50616223d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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__'