[Python-Dev] Relative import (original) (raw)

Barry Warsaw barry at python.org
Wed Dec 17 21:52:03 EST 2003


On Thu, 2003-12-18 at 07:24, Greg Ewing wrote:

Thinking about the doubleunderscore names, it might not be so bad if they were a bit shorter, e.g.

A: root.P.Q B: here.P.Q here.parent.P.Q C: P.Q

I like this, although I'm not so sure about here.parent. What I like about this is the explicitness of where your search starts.

-Barry



More information about the Python-Dev mailing list