] > Re: [Python-projects] pylint: Confused by failed import (Logilab.org)

Email Re: [Python-projects] pylint: Confused by failed import

from
to
subject
Re: [Python-projects] pylint: Confused by failed import
date
2006/03/09 19:29

syt@logilab.fr wrote on 2006-03-09 07:00:58 PM:

> On Thursday 09 March à 18:47, Maarten ter Huurne wrote:
> > Maybe this is related to the import bug of astng 0.15.0? If "super.py" is
> > imported into the CPython VM running pylint instead of being parsed by
> > astng, that would explain the behaviour I'm seeing. If so, this false
> > positive should be gone when using astng 0.15.1.
>  
> Yep, I guess that's the problem. If you want to test, try to add
>
>         return value
>
> on line 155 of file logilab/astng/manager.py (i.e. at the end of the
> file_from_module_name method)

That fixes it indeed.

Bye,
                Maarten

is a reply to