Message 408560 - Python tracker
Message408560
| Author | iritkatriel |
|---|---|
| Recipients | Mark.Shannon, erlendaasland, gvanrossum, iritkatriel, xtreak |
| Date | 2021-12-14.20:45:24 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1639514724.72.0.692803501418.issue45292@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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? |
|
| History | |||
|---|---|---|---|
| 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: <1639514724.72.0.692803501418.issue45292@roundup.psfhosted.org> |
| 2021-12-14 20:45:24 | iritkatriel | link | issue45292 messages |
| 2021-12-14 20:45:24 | iritkatriel | create | |