[Python-Dev] New relative import issue

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Sep 22 02:17:24 CEST 2006


Giovanni Bajo wrote:

> My idea (and interpretation of Greg's statement) is that a module/package
> should be able to live with either relative imports within itself, or fully
> absolute imports.

I think it goes further than that -- each module should
(potentially) have its own unique view of the module
namespace, defined at the time the module is installed,
that can't be disturbed by anything that any other module
does.

--
Greg


More information about the Python-Dev mailing list