Skip to content

Commit e87887c

Browse files
committed
magic number
1 parent 35a47ee commit e87887c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/importlib/_bootstrap_external.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def _write_atomic(path, data, mode=0o666):
412412
# Python 3.12a1 3506 (Add BINARY_SLICE and STORE_SLICE instructions)
413413
# Python 3.12a1 3507 (Set lineno of module's RESUME to 0)
414414
# Python 3.12a1 3508 (Add CLEANUP_THROW)
415-
# Python 3.12a1 3509 (remove conditional jump opcodes with forward/backward direction)
415+
# Python 3.12a1 3509 (Conditional jumps only jump forward)
416416

417417
# Python 3.13 will start with 3550
418418

@@ -425,7 +425,7 @@ def _write_atomic(path, data, mode=0o666):
425425
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
426426
# in PC/launcher.c must also be updated.
427427

428-
MAGIC_NUMBER = (3508).to_bytes(2, 'little') + b'\r\n'
428+
MAGIC_NUMBER = (3509).to_bytes(2, 'little') + b'\r\n'
429429

430430
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
431431

0 commit comments

Comments
 (0)