[Python-ideas] Isolated (?transactional) exec (?subinterpreter) calls

Amaury Forgeot d'Arc amauryfa at gmail.com
Fri Jun 8 15:00:00 CEST 2012


2012/6/8 anatoly techtonik <techtonik at gmail.com>

> Optionally isolated from parent environment:
>  - a feature to execute user script in a snapshot of current
> environment and have
>    a choice whenever to merge its modifications back to environment or not
>

It would be a really interesting feature, but seems very difficult to
implement.
Do you have the slightest idea how this would work?
What about global state, environment variables, threads, and all kinds of
side-effects?

Or are you thinking about a solution based on the multiprocessing module?

-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120608/e3f01da2/attachment.html>


More information about the Python-ideas mailing list