From 80a4ad4f1bbc013bb8dd08bd6586b35bd8a8a593 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 13 Nov 2016 01:23:57 -0500 Subject: [PATCH] Python 3.0 while1 if bug... Is a workaround. We really need more tagging in of SETUP_LOOP and COME_FROM. --- test/bytecode_3.0/02_while1_if_while1.pyc | Bin 0 -> 222 bytes test/simple_source/bug30/02_while1_if_while1.py | 9 +++++++++ uncompyle6/parsers/parse3.py | 3 +++ uncompyle6/parsers/parse30.py | 11 ++++++++++- uncompyle6/scanners/scanner3.py | 6 ++++-- uncompyle6/semantics/fragments.py | 2 +- uncompyle6/semantics/pysource.py | 9 ++++++--- 7 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 test/bytecode_3.0/02_while1_if_while1.pyc create mode 100644 test/simple_source/bug30/02_while1_if_while1.py diff --git a/test/bytecode_3.0/02_while1_if_while1.pyc b/test/bytecode_3.0/02_while1_if_while1.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c4282d8e527e49bcc16b56d23ff5e0643b3b91b9 GIT binary patch literal 222 zcmYj~!3u&v5Qb+ID?;BO=(o}q4b0E~!SKz} z4~DNEJ0p#HkUXGqXoZTNipYn_Gz>F(YaTpOidxy P_L;VR7yD?}!@zk1gq