Relative imports

Kent Johnson kent37 at tds.net
Sat Mar 5 08:23:34 EST 2005


Michael Hoffman wrote:
> Chris wrote:
> 
>> Why do relative imports cause warnings in PyLint?
> 
> 
> http://www.python.org/peps/pep-0328.html#rationale-for-absolute-imports

I notice that this section says that
   from __future__ import absolute_import

will be a feature of Python 2.4. Apparently it didn't make the cut. I've posted a bug report.

Kent



More information about the Python-list mailing list