From 9140c0d4ef4a563fb727d69107ef992b3f9cc869 Mon Sep 17 00:00:00 2001 From: Batuhan Taskaya Date: Thu, 1 Jul 2021 21:57:09 +0300 Subject: [PATCH] bpo-44313: bump up magic --- 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 c8b8ece5f57aea..c3ce4703a27b85 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -370,7 +370,7 @@ def _write_atomic(path, data, mode=0o666): # 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 f0d4138a0803e7..734f78fc037cbe 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,