On Mon, Sep 2, 2013 at 7:02 AM, Nick Coghlan <ncogh...@gmail.com> wrote:

> The hook API I currently have in mind is a two step initialisation:
>
>     PyImport_PrepareNAME (optional)
>     PyImport_ExecNAME
>

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().

-eric
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to