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

Roy Smith roy at panix.com
Thu Aug 11 03:30:37 CEST 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