<div dir="ltr">On Mon, Sep 2, 2013 at 7:02 AM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">The hook API I currently have in mind is a two step initialisation:<br>

<br>
    PyImport_PrepareNAME (optional)<br>
    PyImport_ExecNAME<br></blockquote><div><br></div><div>Should we also look at an API change for the initfunc() of PyImport_Inittab entries?  Currently the function takes a module name, which doesn't jive with loader.exec_module() taking a module.  I noticed this while adding an exec_module() to BuiltinImporter.  I suppose the same thing goes for PyImport_ImportFrozenModuleObject().</div>
<div><br></div><div>-eric</div></div></div></div>