[Python-checkins] bpo-44313: bump up magic (#26983)

isidentical webhook-mailer at python.org
Thu Jul 1 15:25:39 EDT 2021


https://github.com/python/cpython/commit/0d7f61ddb074659d8c18c8f5ac86a6a18e41f9e5
commit: 0d7f61ddb074659d8c18c8f5ac86a6a18e41f9e5
branch: main
author: Batuhan Taskaya <batuhan at python.org>
committer: isidentical <isidentical at gmail.com>
date: 2021-07-01T22:25:10+03:00
summary:

bpo-44313: bump up magic (#26983)

files:
M Lib/importlib/_bootstrap_external.py
M Python/importlib_external.h

diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py
index c8b8ece5f57ae..c3ce4703a27b8 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 f0d4138a0803e..734f78fc037cb 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,



More information about the Python-checkins mailing list