]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44313: bump up magic (#26983)
authorBatuhan Taskaya <batuhan@python.org>
Thu, 1 Jul 2021 19:25:10 +0000 (22:25 +0300)
committerGitHub <noreply@github.com>
Thu, 1 Jul 2021 19:25:10 +0000 (22:25 +0300)
Lib/importlib/_bootstrap_external.py
Python/importlib_external.h

index c8b8ece5f57aeacbd1a922f181bd0488882aed61..c3ce4703a27b85636c23dbc73f4149c9bfd25081 100644 (file)
@@ -370,7 +370,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 = (3457).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3458).to_bytes(2, 'little') + b'\r\n'
 _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little')  # For import.c
 
 _PYCACHE = '__pycache__'
index f0d4138a0803e73170d515a0404db3684dd5ce0e..734f78fc037cbe311b63955a69102f0ade189a9d 100644 (file)
@@ -362,7 +362,7 @@ const unsigned char _Py_M__importlib_bootstrap_external[] = {
     11,179,9,62,0,190,7,65,22,7,193,6,5,65,12,6,
     193,11,1,65,22,7,193,12,7,65,21,13,193,19,3,65,
     22,7,193,23,1,65,21,13,193,24,1,65,22,7,114,95,
-    0,0,0,105,129,13,0,0,114,45,0,0,0,114,33,0,
+    0,0,0,105,130,13,0,0,114,45,0,0,0,114,33,0,
     0,0,115,2,0,0,0,13,10,90,11,95,95,112,121,99,
     97,99,104,101,95,95,122,4,111,112,116,45,122,3,46,112,
     121,122,4,46,112,121,119,122,4,46,112,121,99,41,1,218,