<div class="gmail_quote">On Mon, May 21, 2012 at 8:32 PM, Eric V. Smith <span dir="ltr"><<a href="mailto:eric@trueblade.com" target="_blank">eric@trueblade.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Any reason to make this the string "sys" or "foo", and not the module<br>
itself? Can the module be replaced in sys.modules? Mostly I'm just curious.<br></blockquote><div><br>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.<br>
<br></div></div>