[Python-Dev] 'Subinterpreter' (was Re: Pre-PEP: Redesigning extension modules)

Antoine Pitrou solipsis at pitrou.net
Sun Sep 1 22:06:49 CEST 2013


On Sun, 01 Sep 2013 16:02:33 -0400
Terry Reedy <tjreedy at udel.edu> wrote:
> 
> > Speaking of which, it also doesn't work (well) with subinterpreters:
> 
> Could someone briefly explain 'subinterpreter' or point me somewhere in 
> the docs? It appears throughout this thread but there is no index or 
> glossary entry.

http://docs.python.org/dev/c-api/init.html#sub-interpreter-support

Subinterpreters are a somewhat borderline feature that allows embedding
applications to host multiple Python programs in a single process.  A
well-known example is mod_wsgi.

Regards

Antoine.




More information about the Python-Dev mailing list