[Python-Dev] Relative import (original) (raw)
Barry Warsaw barry at python.org
Wed Dec 17 21:52:03 EST 2003
- Previous message: [Python-Dev] Re: Relative import
- Next message: open == file considered harmful (Re: [Python-Dev] RE: rexec.pyunuseable)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Re: Relative import
- Next message: open == file considered harmful (Re: [Python-Dev] RE: rexec.pyunuseable)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]