[Python-Dev] Relative import

Jack Jansen Jack.Jansen at cwi.nl
Wed Dec 17 15:40:30 EST 2003


On 17-dec-03, at 18:21, Guido van Rossum wrote:

> It's interesting that the "scan upwards on the package name" gets so
> much support.

I would actually be surprised if people who say they want "scan upward"
actually want something else: they want to scan upward up to a limit.

If you have a complex package with, say, three levels you may want to
scan up through the levels of your own package. However, if your package
is later incorporated in a third party package I can hardly imagine that
you want to scan in there too.
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman




More information about the Python-Dev mailing list