8000 Fix magic number (GH-105722) · python/cpython@c3d2d64 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3d2d64

Browse files
authored
Fix magic number (GH-105722)
1 parent 09ffa69 commit c3d2d64

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Lib/importlib/_bootstrap_external.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,7 @@ def _write_atomic(path, data, mode=0o666):
447447
# Python 3.12b1 3531 (Add PEP 695 changes)
448448
# Python 3.13a1 3550 (Plugin optimizer support)
449449
# Python 3.13a1 3551 (Compact superinstructions)
450-
451-
# Python 3.13a1 3554 (Add SET_FUNCTION_ATTRIBUTE)
450+
# Python 3.13a1 3552 (Add SET_FUNCTION_ATTRIBUTE)
452451

453452
# Python 3.14 will start with 3600
454453

@@ -465,7 +464,7 @@ def _write_atomic(path, data, mode=0o666):
465464
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
466465
# in PC/launcher.c must also be updated.
467466

468-
MAGIC_NUMBER = (3554).to_bytes(2, 'little') + b'\r\n'
467+
MAGIC_NUMBER = (3552).to_bytes(2, 'little') + b'\r\n'
469468

470469
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
471470

0 commit comments

Comments
 (0)
0