[Python-Dev] Re: PEP 328 -- relative and multi-line import (original) (raw)
Guido van Rossum guido at python.org
Mon Apr 12 10:55:10 EDT 2004
- Previous message: [Python-Dev] Re: PEP 328 -- relative and multi-line import
- Next message: [Python-Dev] Re: PEP 328 -- relative and multi-line import
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
What is the rationale given for not allowing:
import .moduleY
For all other forms of import, after
import XXX.YYY.ZZZ
then
XXX.YYY.ZZZ
is usable in an expression. (Very different from Java!) But
.moduleY
is not usable in an expression.
(This might be worth adding to the PEP.)
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Re: PEP 328 -- relative and multi-line import
- Next message: [Python-Dev] Re: PEP 328 -- relative and multi-line import
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]