[Python-Dev] Relative import

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Dec 17 23:53:18 EST 2003


> But you're okay with two or more dots for extra levels up, right?

Yes, that's fine.

> (Note that this leading-dot algorithm is nearly the same as the old
> MacOS pathname syntax

I noticed that, too. Also I think VMS did something similar
with dots in its pathnames. So there are precedents...

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list