8000 bump the bytecode magic number (GH-25225) · python/cpython@5061622 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5061622

Browse files
authored
bump the bytecode magic number (GH-25225)
1 parent 5143fd1 commit 5061622

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/importlib/_bootstrap_external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def _write_atomic(path, data, mode=0o666):
325325
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
326326
# in PC/launcher.c must also be updated.
327327

328-
MAGIC_NUMBER = (3435).to_bytes(2, 'little') + b'\r\n'
328+
MAGIC_NUMBER = (3436).to_bytes(2, 'little') + b'\r\n'
329329
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
330330

331331
_PYCACHE = '__pycache__'

Python/importlib_external.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0