Skip to content

Commit b5ef8e1

Browse files
Bump the .pyc magic number.
1 parent 6cae5e0 commit b5ef8e1

File tree

2 files changed

+112
-111
lines changed

2 files changed

+112
-111
lines changed

Lib/importlib/_bootstrap_external.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ def _write_atomic(path, data, mode=0o666):
358358
# Python 3.11a1 3453 (add co_fastlocalnames and co_fastlocalkinds)
359359
# Python 3.11a1 3454 (compute cell offsets relative to locals bpo-43693)
360360
# Python 3.11a1 3455 (add MAKE_CELL bpo-43693)
361+
# Python 3.11a1 3456 (interleave cell args bpo-43693)
361362

362363
#
363364
# MAGIC must change whenever the bytecode emitted by the compiler may no
@@ -367,7 +368,7 @@ def _write_atomic(path, data, mode=0o666):
367368
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
368369
# in PC/launcher.c must also be updated.
369370

370-
MAGIC_NUMBER = (3455).to_bytes(2, 'little') + b'\r\n'
371+
MAGIC_NUMBER = (3456).to_bytes(2, 'little') + b'\r\n'
371372
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
372373

373374
_PYCACHE = '__pycache__'

0 commit comments

Comments
 (0)