Skip to content

Commit fd6607f

Browse files
committed
Bump the magic number
1 parent b48c86d commit fd6607f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/importlib/_bootstrap_external.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ def _write_atomic(path, data, mode=0o666):
453453
# Python 3.13a1 3555 (generate specialized opcodes metadata from bytecodes.c)
454454
# Python 3.13a1 3556 (Convert LOAD_CLOSURE to a pseudo-op)
455455
# Python 3.13a1 3557 (Make the conversion to boolean in jumps explicit)
456+
# Python 3.13a1 3558 (Reorder the stack items for CALL)
456457

457458
# Python 3.14 will start with 3600
458459

@@ -469,7 +470,7 @@ def _write_atomic(path, data, mode=0o666):
469470
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
470471
# in PC/launcher.c must also be updated.
471472

472-
MAGIC_NUMBER = (3557).to_bytes(2, 'little') + b'\r\n'
473+
MAGIC_NUMBER = (3558).to_bytes(2, 'little') + b'\r\n'
473474

474475
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
475476

0 commit comments

Comments
 (0)