<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 12, 2017 at 10:32 PM Nathaniel Smith <<a href="mailto:njs@pobox.com">njs@pobox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><div class="gmail_extra"><div class="gmail_quote">If you're ok with replacing the object in sys.modules then the ability to totally customize your module's type has existed since the dawn era. </div></div></div></div></blockquote><div>I'm down with that. Just make it easier, mucking with sys.modules ain't a walk in a park, and there's the boilerplate and the crazy issues with interpreter shutdown.</div></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span><span><font size="2"><span>Thanks,</span><br><span>-- Ionel</span></font></span><font size="2"><font> Cristian Mărieș, <a href="http://blog.ionelmc.ro">http://blog.ionelmc.ro</a></font></font></span></div></div>