From ff435659810d9612d74494647c9aeab12578f228 Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 18 May 2020 05:33:57 -0400 Subject: [PATCH] 3.4-3.4 mixed "and"/"or" parsing ... Fix by limiting more the bogus come from. --- uncompyle6/scanners/scanner3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uncompyle6/scanners/scanner3.py b/uncompyle6/scanners/scanner3.py index c9b8ee2c..394fd5c2 100644 --- a/uncompyle6/scanners/scanner3.py +++ b/uncompyle6/scanners/scanner3.py @@ -888,6 +888,7 @@ class Scanner3(Scanner): start, self.next_stmt[offset], self.opc.POP_JUMP_IF_FALSE, target ) + # FIXME: Remoeve this whole "if" block # If we still have any offsets in set, start working on it if match: is_jump_forward = self.is_jump_forward(pre_rtarget) @@ -956,7 +957,7 @@ class Scanner3(Scanner): ) ): pass - else: + elif self.version <= 3.2: fix = None jump_ifs = self.inst_matches( start,