]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix magic number (GH-105722)
authorMark Shannon <mark@hotpy.org>
Tue, 13 Jun 2023 09:34:27 +0000 (10:34 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 09:34:27 +0000 (10:34 +0100)
Lib/importlib/_bootstrap_external.py

index 1d27b74453224f3a836230c6590beddbce4c9a1f..707dd7bb8b99cca79bf84d8f6d485ed9568686a4 100644 (file)
@@ -447,8 +447,7 @@ _code_type = type(_write_atomic.__code__)
 #     Python 3.12b1 3531 (Add PEP 695 changes)
 #     Python 3.13a1 3550 (Plugin optimizer support)
 #     Python 3.13a1 3551 (Compact superinstructions)
-
-#     Python 3.13a1 3554 (Add SET_FUNCTION_ATTRIBUTE)
+#     Python 3.13a1 3552 (Add SET_FUNCTION_ATTRIBUTE)
 
 #     Python 3.14 will start with 3600
 
@@ -465,7 +464,7 @@ _code_type = type(_write_atomic.__code__)
 # Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
 # in PC/launcher.c must also be updated.
 
-MAGIC_NUMBER = (3554).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3552).to_bytes(2, 'little') + b'\r\n'
 
 _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little')  # For import.c