[Python-projects] pylint 0.7 E0601 false positive

Sylvain Thénault syt at logilab.fr
Fri Jun 24 11:25:49 CEST 2005


On Thursday 23 June à 15:03, Mike Rovner wrote:
> Hi,

Hello,
 
> Thanks for the pylint.
> 
> I think I found a bug. The line
> 
>    for i in seq: var[i] = True
> 
> fires E0601: Using variable 'i' before assigment.
> var and seq are defined.

Yes, it's a bug and it's already fixed in the CVS.
Thanks for the report anyway :)

-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org



More information about the Python-Projects mailing list