You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Final remnants of xdis fixes?
Restore the last of the excluded bytecode.
This commit is contained in:
@@ -48,7 +48,7 @@ def or_check(self, lhs, n, rule, ast, tokens, first, last):
|
||||
return True
|
||||
|
||||
# If the jmp is backwards
|
||||
if last_token == "POP_JUMP_IF_FALSE" and not self.version in (2.7, 3.5):
|
||||
if last_token == "POP_JUMP_IF_FALSE" and not self.version in (2.7, 3.5, 3.6):
|
||||
if last_token.attr < last_token_offset:
|
||||
# For a backwards loop, well compare to the instruction *after*
|
||||
# then POP_JUMP...
|
||||
|
Reference in New Issue
Block a user