Simple Python Sandbox

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Aug 15 12:49:42 CEST 2010

In message <mailman.2115.1281840500.1673.python-list at>, Stephen 
Hansen wrote:

> On 8/14/10 2:25 PM, Cameron Simpson wrote:
>> Ok, what about this: run the untrusted code in a separate process,
>> if necessary running as a user with different privileges.
> Way too much overhead by a really significant margin: I need to do many,
> many, many, many, many very short (often very *very* short) little
> scripts. Doing IPC to separate processes, even if they're long-running,
> and handling proxying of my objects that these scripts need to read from
> and tweak in certain ways, would just kill performance.

Not necessarily. How about doing IPC via shared memory?

More information about the Python-list mailing list