From 9491c67779f2c5295a3b7351657f3a75f75768a7 Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 20 Feb 2017 04:08:51 -0500 Subject: [PATCH] More COME_FROM's in Python 3... Need this to find boundaries of simple if better --- test/bytecode_3.5/02_try_finally.pyc | Bin 0 -> 224 bytes .../simple_source/exception/02_try_finally.py | 11 +++++++++++ uncompyle6/parsers/parse3.py | 18 +++++++++++++++--- uncompyle6/scanners/scanner3.py | 5 +++++ 4 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 test/bytecode_3.5/02_try_finally.pyc create mode 100644 test/simple_source/exception/02_try_finally.py diff --git a/test/bytecode_3.5/02_try_finally.pyc b/test/bytecode_3.5/02_try_finally.pyc new file mode 100644 index 0000000000000000000000000000000000000000..83d48bcc556e3b749bfe4be0936a9db274ea1d10 GIT binary patch literal 224 zcmX|(F$%&!5JmrFMM6*%3-6G|1j``m32ZEkHj89e2qc@ZQ7|6IPFru2)+$%9a!lb2 z|1r#;`P1Rh3t!Lp4&crD*Mz4vt6DK`Q)s}BpnwBG(T_XjKoe}#c@b(4N_2*CK}35) zh+{t5`n}fSlvXe{Eirwkaiu(^nU=Dl>jSpW+YTSUO7oJ9s<_xh2l|@m@|+eX2 offset: + self.fixed_jumps[offset] = rtarget + self.not_continue.add(pre_rtarget) elif op == self.opc.SETUP_EXCEPT: