Back off 3.5 control flow for now

This commit is contained in:
rocky
2017-12-07 15:25:32 -05:00
parent ef08677287
commit 41bfa3fc01
3 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@@ -0,0 +1,4 @@
# Bug in 3.5 cmd.py
# Bug is "while and" not getting handled properly
i, n = 0, 5
while i < n and __file__ in (1,2): i += 1

View File

@@ -948,7 +948,7 @@ class Scanner3(Scanner):
self.not_continue.add(pre_rtarget)
else:
# For now, we'll only tag forward jump.
if self.version >= 3.5:
if self.version >= 3.6:
if target > offset:
self.fixed_jumps[offset] = target
pass