summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/_bootstrap_external.py
diff options
context:
space:
mode:
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>2021-04-04 08:33:22 (GMT)
committerGitHub <noreply@github.com>2021-04-04 08:33:22 (GMT)
commitc368ce74d2c9bcbf1ec320466819c2d4768252f7 (patch)
treebaaa39c3da90c7672b601f1003d814566bd4dd59 /Lib/importlib/_bootstrap_external.py
parent3caea9adda7f79ab5d4c5a1905ca62b44e0b3b7b (diff)
downloadcpython-c368ce74d2c9bcbf1ec320466819c2d4768252f7.zip
cpython-c368ce74d2c9bcbf1ec320466819c2d4768252f7.tar.gz
cpython-c368ce74d2c9bcbf1ec320466819c2d4768252f7.tar.bz2
bpo-27129: Update magic numbers and bootstrapping for GH-25069 (GH-25172)
* Update magic numbers and bootstrapping for GH-25069 * add blurb Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
-rw-r--r--Lib/importlib/_bootstrap_external.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py
index 358c650..77bd0e0 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -324,7 +324,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 = (3434).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3435).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
_PYCACHE = '__pycache__'