https://bugs.kde.org/show_bug.cgi?id=362913

--- Comment #2 from Francis Herne <francis.he...@yahoo.co.uk> ---
That isn't quite true for me.

That construct _doesn't_ seem to crash kdev-python if it's actually inside a
function, or a class definition.

It does crash if it's at module level, or inside a for-loop.

Crashes:
A = 1, 2, 3
return [x for x in A]

Crashes:
A = 1, 2, 3
for q in 4, 5:
    return [x for x in A]

Doesn't crash:
A = 1, 2, 3
def foo():
    return [x for x in A]

Doesn't crash:
A = 1, 2, 3
class B:
    return [x for x in A]

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to