frozen/builtin modules and new interpreter instances

Patrick Stinson patrickkidd.lists at gmail.com
Fri Apr 11 15:28:33 EDT 2008


So when creating a new interpreter (thread state) are you expected to re-set
PyImport_FrozenModules and call yImport_ExtendInittab() again? the former
seems to get corrupted between Py_Initialize() and Py_NewInterpreter(). I
know that modules are not shared between interpreter instances, and it would
be nice to know how to handle built-in, frozen, and statically linked
modules.

Any generic help on this topic would be great. Thanks!

-- 
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080411/ce1a94ce/attachment.html>


More information about the Python-list mailing list