(original) (raw)
On 9/18/06, Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
It is more of how relative imports used to be inherent and thus have no clear way to delineate that an import was being done using a relative path compared to an absolute one.
Using the dot notation, yes they will exist in Py3K.
-Brett
Armin Rigo wrote:
> My (limited) understanding of the motivation for relative imports is
> that they are only here as a transitional feature. Fully-absolute
> imports are the official future.
Guido does seem to have a dislike for relative imports,
but I don't really understand why. The usefulness of
being able to make a package self-contained and movable
to another place in the package hierarchy without hacking
it seems self-evident to me.
It is more of how relative imports used to be inherent and thus have no clear way to delineate that an import was being done using a relative path compared to an absolute one.
What's happening in Py3k? Will relative imports still
exist?
Using the dot notation, yes they will exist in Py3K.
-Brett