[Python-Dev] PEP 328 -- relative and multi-line import (original) (raw)
Guido van Rossum guido at python.org
Tue Mar 30 18:50:29 EST 2004
- Previous message: [Python-Dev] PEP 328 -- relative and multi-line import
- Next message: [Python-Dev] PEP 328 -- relative and multi-line import
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I guess going grocery shopping removed my voice in this area wink.
Actually it was long ago decided that the pronouncement would be either one dot or multiple dots; other ideas have been removed from consideration.
There was a thread on an a VMS-style relative package option that used negative integers for a relative imports. The thread with this line of thought starts with Stephen Horne's post here: http://groups.google.com/groups?q=g:thl3068059620d&dq=&hl=en&lr=&ie=UTF-8&c2coff=1&safe=off&selm=ra4q401p3ld92uthl6l34u8vfqq39567n0%404ax.com
I personally like that it is concise for deeply nested relative imports, and doesn't require counting of dots. We didn't really get any 'elder developers' to comment on that syntax.
OK, since you asked: Yuck.
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] PEP 328 -- relative and multi-line import
- Next message: [Python-Dev] PEP 328 -- relative and multi-line import
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]