Skip to content
Prev Previous commit
Next Next commit
Catch up with main
  • Loading branch information
brandtbucher committed Sep 8, 2023
commit 135a499feceb45900829f59cae75daa02c591d8d
7 changes: 4 additions & 3 deletions Lib/importlib/_bootstrap_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,9 @@ def _write_atomic(path, data, mode=0o666):
# Python 3.13a1 3557 (Make the conversion to boolean in jumps explicit)
# Python 3.13a1 3558 (Reorder the stack items for CALL)
# Python 3.13a1 3559 (Generate opcode IDs from bytecodes.c)
# Python 3.13a1 3560 (Add CALL_KW and remove KW_NAMES)
# Python 3.13a1 3561 (Add RESUME_CHECK instruction)
# Python 3.13a1 3560 (Add RESUME_CHECK instruction)
# Python 3.13a1 3561 (Add cache entry to branch instructions)
# Python 3.13a1 3562 (Add CALL_KW and remove KW_NAMES)

# Python 3.14 will start with 3600

Expand All @@ -473,7 +474,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 = (3561).to_bytes(2, 'little') + b'\r\n'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already a merge conflict. :-) Might need to manually merge #109269.

MAGIC_NUMBER = (3562).to_bytes(2, 'little') + b'\r\n'

_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c

Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.