pylint #2508 false positive with lambda [resolved]

pylint -f parseable [C] Missing required attribute "__revision__" [E, buggy.<lambda>] Using variable 'a' before assignment [E, buggy.<lambda>] Using variable 'b' before assignment

I'm running...

/tmp$ pylint --version pylint 0.12.1, astng 0.16.1, common 0.19.2 Python 2.4.3 (#1, Oct 2 2006, 11:23:48) [GCC 3.3.6]

The release notes in the mailing list stated that __revision__ was no longer required, so I am surprised to see that message. The lambda error is from a +lambda construct of...

lambda (a, b): a != b

...but if I were to change that bit of code to be...

lambda (x): x[0] != x[1]

...then pylint will be quiet about the lambda expression.


appeared in<not specified>
done in0.12.2
load left0.000
closed by<not specified>