mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
GH-77273: Better bytecodes for f-strings (GH-6132)
This commit is contained in:
parent
307bceaa65
commit
1d857da7f0
15 changed files with 525 additions and 485 deletions
|
@ -110,6 +110,9 @@ def_op('PUSH_EXC_INFO', 35)
|
|||
def_op('CHECK_EXC_MATCH', 36)
|
||||
def_op('CHECK_EG_MATCH', 37)
|
||||
|
||||
def_op('FORMAT_SIMPLE', 40)
|
||||
def_op('FORMAT_WITH_SPEC', 41)
|
||||
|
||||
def_op('WITH_EXCEPT_START', 49)
|
||||
def_op('GET_AITER', 50)
|
||||
def_op('GET_ANEXT', 51)
|
||||
|
@ -213,9 +216,9 @@ def_op('YIELD_VALUE', 150)
|
|||
def_op('RESUME', 151) # This must be kept in sync with deepfreeze.py
|
||||
def_op('MATCH_CLASS', 152)
|
||||
|
||||
def_op('FORMAT_VALUE', 155)
|
||||
def_op('BUILD_CONST_KEY_MAP', 156)
|
||||
def_op('BUILD_STRING', 157)
|
||||
def_op('CONVERT_VALUE', 158)
|
||||
|
||||
def_op('LIST_EXTEND', 162)
|
||||
def_op('SET_UPDATE', 163)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue