Closed P403n1x87 closed 2 years ago
Python 3.9 introduced the JUMP_IF_NOT_EXC_MATCH opcode, and the use of Compare.EXC_MATCH produces bad code that results in
JUMP_IF_NOT_EXC_MATCH
Compare.EXC_MATCH
TypeError: 'UH��H��]�l�' not supported between instances of 'type' and 'type'
therefore I would like to suggest that the attribute Compare.EXC_MATCH be defined only under the condition sys.version_info[:2] < (3, 9)
sys.version_info[:2] < (3, 9)
Sounds perfectly reasonable. Please make a PR.
Python 3.9 introduced the
JUMP_IF_NOT_EXC_MATCH
opcode, and the use ofCompare.EXC_MATCH
produces bad code that results intherefore I would like to suggest that the attribute
Compare.EXC_MATCH
be defined only under the conditionsys.version_info[:2] < (3, 9)