Multiple, separated interpreters in a single process

Aahz aahz at pythoncraft.com
Fri Feb 7 11:11:13 EST 2003
In article <mailman.1044616097.17174.python-list at python.org>,
Tobias Oberstein <Tobias.Oberstein at gmx.de> wrote:
>Aahz aahz at pythoncraft.com 6 Feb 2003 16:38:02 -0500 wrote
>>
>> In article <mailman.1044547994.22179.python-list at python.org>,
>> Tobias Oberstein <Tobias.Oberstein at gmx.de> wrote:
>>>
>>>I'd like to have multiple interpreters within a single process
>>>such that the interpreters are competely separated (like in TCL):
>>>
>>>- different object spaces
>>>- different GILs
>>
>> No can do.  Problem is that extensions loaded by Python might have
>> static data.
>
>Wasn't it a design flaw (in retrospective) to allow for static data at
>all? Anyway, I could live with a situation where only the most important
>extensions are working.

Python was (and is) designed to work with random external libraries.
Many of them use static data.  Because of that, it was deemed not worth
the effort to give Python extra capabilities.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Register for PyCon now!  http://www.python.org/pycon/reg.html




More information about the Python-list mailing list