[Python-projects] pylint bug report

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Jun 20 10:05:41 CEST 2007


On Monday 18 June à 13:30, Aufrant Olivier wrote:
> Hello,
> I've found a strange bug involving "from / import / as" statements in pylint.
> 
> If in a program I put at the beginning :
> from numpy import sqrt as np_sqrt
> import numpy
> 
> Then using the "numpy.sqrt" function later in this script will trigger  
> a pylint error, while using "np_sqrt" won't, everything else  
> unchanged. The pylint error message follows
> 
> I'm using pylint embedded in Eclipse/pydev (last version for all) on  
> windows XP

did you try using the latest astng version (0.17.1) ? This bug should be
fixed in this version.
-- 
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