[mod_python] mod_python

Graham Dumpleton graham.dumpleton at gmail.com
Wed Feb 20 05:31:25 EST 2008

On 20/02/2008, Jean-Nicolas Bes <jnbes at atreal.net> wrote:
> Hi!
> I was wondering how mod_python manages to launch multiple python
> interpreters within the same process. I had a look at the source code,
> but I'll be pleased if someone could explain me quickly how it works.

It inherits the main Python interpreter instance from the
Py_Initialize() call and It uses the Py_NewInterpreter() call to
create additional sub interpreters when required. See Python C API
documentation for more information.


More information about the Mod_python mailing list