Back off buggy "or" check

This commit is contained in:
rocky
2020-06-27 11:33:46 -04:00
parent f7bad891a4
commit 598b58796d

View File

@@ -44,8 +44,6 @@ def or_check(self, lhs, n, rule, ast, tokens, first, last):
return False
elif jmp_true_target < last_token_offset:
return True
elif expr_jt.kind == "expr_jt" and jmp_true_target > last_token_offset:
return True
# If the jmp is backwards
if last_token == "POP_JUMP_IF_FALSE" and not self.version in (2.7, 3.5, 3.6):