[Python-3000] Will we have a true restricted exec environmentfor python-3000?

"Martin v. Löwis" martin at v.loewis.de
Tue Apr 11 18:49:59 CEST 2006


Greg Ewing wrote:
> Ian Bicking wrote:
> 
>> So I hear there's long been the ability to make multiple interpreters at 
>> the C level -- but this has never been exposed at the Python 
>> level.
> 
> I'm not sure it would help in this case, unless
> there was no sharing of objects between the
> interpreters, in which case you might as well
> be running it in a separate process.

Well, if you were to create a hierarchy of proxy objects for "remoting"
objects across different interpreters, you would get much better
performance than if you used IPC. This would be similar to .NET
AppDomains or Java Isolates.

Regards,
Martin


More information about the Python-3000 mailing list