PEP 328, absolute/relative import (was: Re: Bizarre error from help())

Roy Smith roy at panix.com
Wed Aug 10 21:30:37 EDT 2005


Ben Finney <bignose+hates-spam at benfinney.id.au> wrote:
> Once PEP 328 is fully implemented, all bare 'import foo' statements
> specify absolute imports (i.e. from sys.path only). To perform a
> relative import (e.g. from current directory) will require different
> syntax.

It seems like this will break lots of existing code.



More information about the Python-list mailing list