Message408560
The PR adds two new opcodes. Let's start with the simpler of the two - JUMP_IF_NOT_EG_MATCH. This is the exception-group variation on JUMP_IF_NOT_EXC_MATCH.
JUMP_IF_NOT_EXC_MATCH checks for a match by checking if the exception is of the given type. The result is boolean.
JUMP_IF_NOT_EG_MATCH checks for a matching by calling .split() on the exception group. The result is two exception groups (the matching part and the non-matching part).
Can we do this without a new opcode? |
|
| Date |
User |
Action |
Args |
| 2021-12-14 20:45:24 | iritkatriel | set | recipients:
+ iritkatriel, gvanrossum, Mark.Shannon, xtreak, erlendaasland |
| 2021-12-14 20:45:24 | iritkatriel | set | messageid: <[email protected]> |
| 2021-12-14 20:45:24 | iritkatriel | link | issue45292 messages |
| 2021-12-14 20:45:24 | iritkatriel | create | |
|