Remove special-casing from FORMAT_VALUE
opcode
#102598
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Right now there's a special case in handling this opcode:
cpython/Python/bytecodes.c
Lines 3060 to 3073 in 5ffdaf7
It comes from older version of
ceval.c
:cpython/Python/ceval.c
Lines 4379 to 4395 in 2810787
But, I think that the needed optimizaion is there:
cpython/Objects/abstract.c
Lines 774 to 777 in 5ffdaf7
So, I think this can be safely removed.
I will send a PR.
Linked PRs
FORMAT_VALUE
opcode #102599The text was updated successfully, but these errors were encountered: