(Serious?) package namespace problem (and a proposal)
Toby Dickenson
mbel44 at dial.pipex.net
Thu Jun 29 07:29:23 EDT 2000
gmcm at hypernet.com (Gordon McMillan) wrote:
>I think the "relative import" feature should be shot in the head (2 posts
>today), but unfortunately most packages rely heavily on it.
A relative import is just as useful as a relative directory: it allows
intra-module imports, without each module needing to know where it is
packaged.
The real problem is that relative imports and absolute imports are
spelled the same way.
Toby Dickenson
tdickenson at geminidataloggers.com
More information about the Python-list
mailing list