On Mon, May 21, 2012 at 8:32 PM, Eric V. Smith <e...@trueblade.com> wrote:

> Any reason to make this the string "sys" or "foo", and not the module
> itself? Can the module be replaced in sys.modules? Mostly I'm just curious.
>

Probably not, but it occurred to me that storing references to modules
introduces a reference cycle that wasn't there when we were pointing to
parent path objects instead. It basically would make child packages point
to their parents, as well as the other way around.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to