] > 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/20 14:18
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 ?

-- 
Nicolas Chauvat

logilab.fr - services en informatique avancée et gestion de connaissances  
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects