mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
GH-105848: Simplify the arrangement of CALL's stack (GH-107788)
This commit is contained in:
parent
0a7f48b9a8
commit
a9caf9cf90
16 changed files with 627 additions and 682 deletions
|
@ -453,6 +453,7 @@ _code_type = type(_write_atomic.__code__)
|
|||
# Python 3.13a1 3555 (generate specialized opcodes metadata from bytecodes.c)
|
||||
# Python 3.13a1 3556 (Convert LOAD_CLOSURE to a pseudo-op)
|
||||
# Python 3.13a1 3557 (Make the conversion to boolean in jumps explicit)
|
||||
# Python 3.13a1 3558 (Reorder the stack items for CALL)
|
||||
|
||||
# Python 3.14 will start with 3600
|
||||
|
||||
|
@ -469,7 +470,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 = (3557).to_bytes(2, 'little') + b'\r\n'
|
||||
MAGIC_NUMBER = (3558).to_bytes(2, 'little') + b'\r\n'
|
||||
|
||||
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue