Skip to content

opcode.opname does not contain specialised bytecodes #128891

@iritkatriel

Description

@iritkatriel
>>> import opcode
>>> opcode._specialized_opmap['BINARY_OP_ADD_INT']
151
>>> opcode.opname[151]
'<151>'
>>> 

Expected:

>>> opcode.opname[151]
'BINARY_OP_ADD_INT'

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixesstdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions