mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
GH-93429: Merge LOAD_METHOD
back into LOAD_ATTR
(GH-93430)
This commit is contained in:
parent
cd543d0bc9
commit
b083450f88
13 changed files with 321 additions and 380 deletions
|
@ -408,6 +408,7 @@ _code_type = type(_write_atomic.__code__)
|
|||
# Python 3.12a1 3501 (YIELD_VALUE oparg == stack_depth)
|
||||
# Python 3.12a1 3502 (LOAD_FAST_CHECK, no NULL-check in LOAD_FAST)
|
||||
# Python 3.12a1 3503 (Shrink LOAD_METHOD cache)
|
||||
# Python 3.12a1 3504 (Merge LOAD_METHOD back into LOAD_ATTR)
|
||||
|
||||
# Python 3.13 will start with 3550
|
||||
|
||||
|
@ -421,7 +422,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 = (3503).to_bytes(2, 'little') + b'\r\n'
|
||||
MAGIC_NUMBER = (3504).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