Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd2b3f3 commit d5ab812Copy full SHA for d5ab812
Python/compile.c
@@ -8635,6 +8635,9 @@ assemble(struct compiler *c, int addNone)
8635
if (mark_except_handlers(g->g_entryblock) < 0) {
8636
goto error;
8637
}
8638
+ if (label_exception_targets(g->g_entryblock)) {
8639
+ goto error;
8640
+ }
8641
if (optimize_cfg(g, consts, c->c_const_cache)) {
8642
8643
@@ -8653,9 +8656,6 @@ assemble(struct compiler *c, int addNone)
8653
8656
8654
8657
/* TO DO -- For 3.12, make sure that `maxdepth <= MAX_ALLOWED_STACK_USE` */
8655
8658
- if (label_exception_targets(g->g_entryblock)) {
- goto error;
- }
8659
convert_exception_handlers_to_nops(g->g_entryblock);
8660
8661
if (push_cold_blocks_to_end(g, code_flags) < 0) {
0 commit comments