[issue10914] Python sub-interpreter test

Antoine Pitrou report at bugs.python.org
Mon Jan 17 16:14:07 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> There is also always the possibility of writing it in Python and using 
> ctypes to get at the necessary C API calls to create subinterpreters.

Well, I don't think calling Py_Initialize, Py_Finalize and Py_NewInterpreter from pure Python code is a very good idea.

Tarek, can you help? We'd like to use distutils to compile an executable embedding the interpreter.

----------
nosy: +tarek

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10914>
_______________________________________


More information about the Python-bugs-list mailing list