Skip to content

Commit

Permalink
pythongh-119180: Update the magic number
Browse files Browse the repository at this point in the history
but did not actually apply the new magic number.
  • Loading branch information
JelleZijlstra committed May 22, 2024
1 parent 858b9e8 commit eae04ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/importlib/_bootstrap_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,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 = (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

Expand Down

0 comments on commit eae04ad

Please sign in to comment.