You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
3.4-3.4 mixed "and"/"or" parsing ...
Fix by limiting more the bogus come from.
This commit is contained in:
@@ -888,6 +888,7 @@ class Scanner3(Scanner):
|
|||||||
start, self.next_stmt[offset], self.opc.POP_JUMP_IF_FALSE, target
|
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 we still have any offsets in set, start working on it
|
||||||
if match:
|
if match:
|
||||||
is_jump_forward = self.is_jump_forward(pre_rtarget)
|
is_jump_forward = self.is_jump_forward(pre_rtarget)
|
||||||
@@ -956,7 +957,7 @@ class Scanner3(Scanner):
|
|||||||
)
|
)
|
||||||
):
|
):
|
||||||
pass
|
pass
|
||||||
else:
|
elif self.version <= 3.2:
|
||||||
fix = None
|
fix = None
|
||||||
jump_ifs = self.inst_matches(
|
jump_ifs = self.inst_matches(
|
||||||
start,
|
start,
|
||||||
|
Reference in New Issue
Block a user