[Python-ideas] Module local namespaces

Guido van Rossum guido at python.org
Thu Jan 4 02:18:09 CET 2007

On 1/3/07, Josiah Carlson <jcarlson at uci.edu> wrote:
> -1 .  The only thing that possibly should be fixed is that modules
> should only be inserted into sys.modules after they have been imported
> completely and correctly.

I agree, but there's the wrinkle that during recursive imports you
want partially-imported modules to be importable. I believe we once
agreed on a solution but I don't recall what it was. Does anybody

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-ideas mailing list