] > Re: [Python-projects] pylint: Warning about relative imports (Logilab.org)

Email Re: [Python-projects] pylint: Warning about relative imports

from
subject
Re: [Python-projects] pylint: Warning about relative imports
date
2005/10/21 11:32
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.
 
-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects


has reply