aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/importlib/_bootstrap_external.py
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-05-24 17:32:17 -0700
committerGitHub <noreply@github.com>2024-05-24 17:32:17 -0700
commit84be5244de75c92904fb41326c9a69f19051e7ab (patch)
tree71918a98ba18a88423c56ccbee3826a1077c0a3f /Lib/importlib/_bootstrap_external.py
parent49c3ade4f3ceae2f8fcbe03ebaaad5eddf8de0bf (diff)
downloadcpython-84be5244de75c92904fb41326c9a69f19051e7ab.tar.gz
cpython-84be5244de75c92904fb41326c9a69f19051e7ab.zip
gh-119180: Update the magic number (#119397)
PR #119321 added a comment about the magic number bump but did not actually apply the new magic number.
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 b3abf380a82..68469863e7f 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -489,7 +489,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 = (3571).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3600).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c