[Python-projects] Incorrect unused variable warning

Sylvain Thénault sylvain.thenault at logilab.fr
Thu Nov 20 12:31:03 CET 2008


On Wed, Nov 19, 2008 at 12:08:23AM +0100, Maarten ter Huurne wrote:
> On Tuesday 18 November 2008, Sylvain Thénault wrote:
> > On Mon, Nov 10, 2008 at 12:10:01AM +0100, Maarten ter Huurne wrote:
> > > I openend a ticket about this problem a couple of weeks ago:
> > >   http://www.logilab.org/ticket/6015
> > >
> > > I think the problem originates in the astng code that looks for the
> > > place where a variable is assigned. It would be great if someone more
> > > familiar with astng could look into this.
> >
> > I've planned your ticket to pylint 0.16 (even if you're right, it's much
> > probably an astng bug) and marked it as important so I'll take a look at
> > it asap.
> 
> Thanks!
> 
> It would be good if I take take this pylint warning off the ignore list when 
> the false positive is gone, since it could catch real bugs.

logilab-astng 0.17.4 is out and should fix this pb :)

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science



More information about the Python-Projects mailing list