summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-05-25 00:32:17 (GMT)
committerGitHub <noreply@github.com>2024-05-25 00:32:17 (GMT)
commit84be5244de75c92904fb41326c9a69f19051e7ab (patch)
tree71918a98ba18a88423c56ccbee3826a1077c0a3f /Lib/importlib
parent49c3ade4f3ceae2f8fcbe03ebaaad5eddf8de0bf (diff)
downloadcpython-84be5244de75c92904fb41326c9a69f19051e7ab.zip
cpython-84be5244de75c92904fb41326c9a69f19051e7ab.tar.gz
cpython-84be5244de75c92904fb41326c9a69f19051e7ab.tar.bz2
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')
-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 b3abf38..6846986 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