[Python-projects] Bug in raw_building.py was Re: PyLint Where does one report an apparent bug?

Sylvain Thénault sylvain.thenault at logilab.fr
Tue Feb 27 20:40:38 CET 2007


On Monday 26 February à 12:26, Colin J. Williams wrote:
> 
> 
> Sylvain Thénault wrote:
> 
>     On Monday 26 February à 06:47, Colin J. Williams wrote:
> 
> 
>         Sylvain,
> 
>         The crash is from raw_building.py line 54.  There is no if/else in that region.
> 
> 
> 
>     so you're definitly not using astng 0.16.3...
> 
> 
> 
> I've just downloaded astng 0.16.3 again.  The raw_building.py file has 8452
> bytes and was last modified 2006-09-25 09:45.  The last change in the package
> was to inference.py on 2006-11-23.
> 
> I offered a bug fix which seems to work.
> Could you please advise whether the fix is adequate?

your fix isn't adequat, it break py < 2.5 compatibility. The correct fix
in in astng 0.16.3. Did you open the raw_building.py file, go to line
54, and see the "if" i'm talkinb about ? I've done that myself.

-- 
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