From 8f022e07c21035cdb6dafa121a615539e561e1b8 Mon Sep 17 00:00:00 2001 From: Xinlong Hu Date: Wed, 6 Aug 2025 13:03:48 -0500 Subject: [PATCH] 3.12/3.13 While TryExcept expecting a Jump node --- pylingual/control_flow_reconstruction/templates/Block.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylingual/control_flow_reconstruction/templates/Block.py b/pylingual/control_flow_reconstruction/templates/Block.py index df355a8..7f1ae49 100644 --- a/pylingual/control_flow_reconstruction/templates/Block.py +++ b/pylingual/control_flow_reconstruction/templates/Block.py @@ -72,7 +72,7 @@ class JumpTemplate(ControlFlowTemplate): exact_instructions("POP_JUMP_IF_FALSE"), ), block=N.tail(), - tail=N.tail(), + tail=N.tail().with_cond(without_instructions("NOP")), ) try_match = make_try_match(