[Python-Dev] Relative vs. absolute imports

Aahz aahz at pythoncraft.com
Wed May 19 15:32:05 EDT 2004


On Wed, May 19, 2004, Phillip J. Eby wrote:
> At 08:53 PM 5/19/04 +0200, Bernhard Herzog wrote:
>>
>>Absolute imports have their own difficulties, too, btw, and relative
>>imports don't add much complexity on top of that.  I don't think the
>>ambiguity, if you want to call it that, is enough of a problem to
>>justify the incompatibility.
> 
> IIRC, nobody has suggested eliminating them prior to 3.0, which will have 
> lots of other backward-incompatible changes anyway.

Actually, the current plan is to eliminate relative imports that don't
use the new syntax in Python 2.6.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Adopt A Process -- stop killing all your children!



More information about the Python-Dev mailing list