From: Batuhan Taskaya Date: Thu, 1 Jul 2021 19:25:10 +0000 (+0300) Subject: bpo-44313: bump up magic (#26983) X-Git-Tag: v3.11.0a1~750 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d7f61ddb074659d8c18c8f5ac86a6a18e41f9e5;p=thirdparty%2FPython%2Fcpython.git bpo-44313: bump up magic (#26983) --- diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index c8b8ece5f57a..c3ce4703a27b 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -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__' diff --git a/Python/importlib_external.h b/Python/importlib_external.h index f0d4138a0803..734f78fc037c 100644 --- a/Python/importlib_external.h +++ b/Python/importlib_external.h @@ -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,