[Python-Dev] Re: Relative import

Barry Warsaw barry at python.org
Wed Dec 17 22:05:03 EST 2003

On Tue, 2003-12-16 at 22:20, Delaney, Timothy C (Timothy) wrote:

> That's what I've been wondering. I really don't like the proposal to
> use . in various places to signify relative and absolute imports. It
> seems non-obvious both in understandability and readability.

I agree.  That's why I like something like __root__.foo.bar and
__here__.foo.bar.  Totally explicit and will avoid deep groove digging
in the skull trying to remember if a leading dot means it should be
absolute or relative. :)


More information about the Python-Dev mailing list