bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. by markshannon · Pull Request #17754 · python/cpython
COMPARE_OP for rich comparisons IS_OP for 'is' and 'is not' tests CONTAINS_OP for 'in' and 'is not' tests JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements.
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request
…ythonGH-17754) Break up COMPARE_OP into four logically distinct opcodes: * COMPARE_OP for rich comparisons * IS_OP for 'is' and 'is not' tests * CONTAINS_OP for 'in' and 'is not' tests * JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters