#1543 Another problem parsing nested list comprehensions

open
Editor (491)
5
2012-11-23
2012-11-23
Mqrius
No

In the following code "y" is incorrectly flagged as being an undefined variable.

print [y for ys in [[x] for x in range(1)] for y in ys]

Note: The other two similar bugs I found when searching did not show an error for me, so this must be a different bug.

Eclipse: Version: 4.2.1, Build id: M20120914-1800
PyDev version: 2.7.1.2012100913
OS: Windows 7 Ultimate

Discussion