[Python-projects] Pylint: w0108 false positive (and fix)
Nathaniel Manista
nathaniel at google.com
Wed May 13 00:56:28 CEST 2009
Pylint Developers-
I was today alerted of a false positive of the suspicious lambda
checker. I had originally written the checker to check that when the lambda
includes *args and **kwargs, the call does as well, but I had forgotten to
check that when the lambda excludes *args and **kwargs that the call is also
without them.
The attached patch fixes this and extends the functional test to cover
these cases. Please review it and, if you like it, include it in pylint.
Thanks,
-Nathaniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.logilab.org/pipermail/python-projects/attachments/20090512/3f396051/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nathaniel.patch
Type: text/x-diff
Size: 2657 bytes
Desc: not available
URL: <http://lists.logilab.org/pipermail/python-projects/attachments/20090512/3f396051/attachment.patch>
More information about the Python-Projects
mailing list