[Python-Dev] Re: Christmas Wishlist (original) (raw)

Barry Warsaw barry at python.org
Wed Dec 17 22:02:04 EST 2003


On Wed, 2003-12-17 at 11:55, Charles Hixson wrote:

Barry Warsaw wrote:

>Sorry, let me rephrase. I'd love to ban relative imports. Personally, >I think all imports should be specified using fully-qualified absolute >package paths. >

If I'm understanding this right you want to ban imports that are machine independant. That can't be right, but that's what it sounds like to me.

Nope, because "absolute package paths" are always calculated relative to directories in sys.path when mapping a package path to a file system path.

-Barry



More information about the Python-Dev mailing list