mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
gh-101799: implement PREP_RERAISE_STAR as an intrinsic function (#101800)
This commit is contained in:
parent
3690688149
commit
81e3aa835c
13 changed files with 107 additions and 73 deletions
|
@ -433,6 +433,7 @@ _code_type = type(_write_atomic.__code__)
|
|||
# Python 3.12a5 3517 (Change YIELD_VALUE oparg to exception block depth)
|
||||
# Python 3.12a5 3518 (Add RETURN_CONST instruction)
|
||||
# Python 3.12a5 3519 (Modify SEND instruction)
|
||||
# Python 3.12a5 3520 (Remove PREP_RERAISE_STAR, add CALL_INTRINSIC_2)
|
||||
|
||||
# Python 3.13 will start with 3550
|
||||
|
||||
|
@ -445,7 +446,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 = (3519).to_bytes(2, 'little') + b'\r\n'
|
||||
MAGIC_NUMBER = (3520).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