[Python-projects] pylint: false undefined variable error in lambda function

Sylvain Thénault sylvain.thenault at logilab.fr
Wed May 27 08:14:04 CEST 2009


On 26 mai 22:42, J Robert Ray wrote:
> Sorry, I could not find a way to register on the logilab site to
> submit this as a ticket.

that's fine, this mailing list is the right place to report bug (or to request
an account on logilab.org).
 
> Here is a short demonstration program that shows that a lambda
> function's parameter is flagged as undefined if the lambda function is
> an argument to a decorator function.
> 
> I have taken care so that the program has no other errors with the
> default configuration.

nice :)

[snip bug demonstration]

I've filed a ticket for this bug: http://www.logilab.org/ticket/9215 

Thank you for this report
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org



More information about the Python-Projects mailing list