[Python-Dev] PEP 328 -- relative and multi-line import

Aahz aahz at pythoncraft.com
Tue Mar 30 17:53:24 EST 2004


On Tue, Mar 30, 2004, Guido van Rossum wrote:
>
> Is anyone championing PEP 328?  This is planned for inclusion in 2.4,
> but not much movement has happened.  If it's stuck on the decision
> whether to use multiple dots (one per level up) or a single dot (to
> indicate searching upwards until found), I'm willing to pronounce that
> it should be multiple dots.
> 
> At least "from . import X" and "from .. import X" are completely clear
> and more levels up are not likely to occur in practice...

I'm working on producing an edit, but if you just want to Pronounce,
that's fine with me.  There hasn't been a lot of emotion attached, and
nobody has gotten seriously annoyed with the multiple dot idea.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"usenet imitates usenet"  --Darkhawk



More information about the Python-Dev mailing list