[Python-Dev] PEP 328 -- relative and multi-line import
Guido van Rossum
guido at python.org
Tue Mar 30 17:18:14 EST 2004
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...
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev