from
Sylvain Thénault <sylvain.thenault at logilab dot fr>
to
Sylvain Thénault <sylvain.thenault at logilab dot fr>
subject
Re: [Python-projects] pylint: Warning about relative imports
date
On Friday 21 October à 11:32, Sylvain Thénault wrote:2005/10/21 17:25
> On Thursday 20 October à 14:18, Nicolas Chauvat wrote:
> > On Thu, Oct 20, 2005 at 01:50:50PM +0200, Amaury Forgeot D Arc wrote:
> > > IMO, the correct logic is to not to warn on relative imports, but to warn
> > > on imports that are not absolute, i.e. that cannot be located from
> > > sys.path.
> > >
> > > What do you think about this?
> >
> > I've been thinking only about your "absolute" imports but was calling
> > them "relative". I don't have time to check the source code of pylint
> > right now but I am curious to hear what Sylvain has to say regarding
> > the distinction you make: does pylint know about the difference ?
>
> hum, it should. So I think the OP was actually reporting a bug :) I'll
> check this ASAP.
should be fixed with the next logilab-common release.
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
