From 0d7f61ddb074659d8c18c8f5ac86a6a18e41f9e5 Mon Sep 17 00:00:00 2001 From: Batuhan Taskaya Date: Thu, 1 Jul 2021 22:25:10 +0300 Subject: bpo-44313: bump up magic (#26983) --- Lib/importlib/_bootstrap_external.py | 2 +- Python/importlib_external.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index c8b8ece..c3ce470 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 f0d4138..734f78f 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, -- cgit v0.12