pylint #7925 Line number wrong for "generator expression needs parenthesis" error [resolved]
print 'line1' print 'line2' print 'line3' print dict(value, value * 2 for value in range(100))pylint output:
E0001: 1: generator expression needs parenthesisSince the error is on line 4, that is the line I would expect pylint to report, but it reports line 1 always. For a short program like this it is obvious where the problem is located, but for a 1000-line module it would be looking for a needle in a haystack.
|appeared in||<not specified>|
|closed by||<not specified>|