Skip to content

Commit f70048d

Browse files
committed
Dance dance the magic dance
1 parent 65a3272 commit f70048d

File tree

2 files changed

+112
-111
lines changed

2 files changed

+112
-111
lines changed

Lib/importlib/_bootstrap_external.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ def _write_atomic(path, data, mode=0o666):
349349
# Python 3.10a6 3434 (PEP 634: Structural Pattern Matching)
350350
# Python 3.10a7 3435 Use instruction offsets (as opposed to byte offsets).
351351
# Python 3.10b1 3436 (Add GEN_START bytecode #43683)
352+
# Python 3.10b1 3437 (Undo making 'annotations' future by default - We like to dance among core devs!)
352353

353354
#
354355
# MAGIC must change whenever the bytecode emitted by the compiler may no
@@ -358,7 +359,7 @@ def _write_atomic(path, data, mode=0o666):
358359
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
359360
# in PC/launcher.c must also be updated.
360361

361-
MAGIC_NUMBER = (3436).to_bytes(2, 'little') + b'\r\n'
362+
MAGIC_NUMBER = (3437).to_bytes(2, 'little') + b'\r\n'
362363
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
363364

364365
_PYCACHE = '__pycache__'

0 commit comments

Comments
 (0)