<div class="gmail_quote">2012/6/8 anatoly techtonik <span dir="ltr"><<a href="mailto:techtonik@gmail.com" target="_blank">techtonik@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1d7">Optionally isolated from parent environment:<br>
  - a feature to execute user script in a snapshot of current<br>
environment and have<br>
    a choice whenever to merge its modifications back to environment or not<br></div></blockquote></div><div><br></div>It would be a really interesting feature, but seems very difficult to implement.<div><div>Do you have the slightest idea how this would work?</div>
<div>What about global state, environment variables, threads, and all kinds of side-effects?</div><div><br></div><div>Or are you thinking about a solution based on the multiprocessing module?</div><div><br></div><div>-- <br>
Amaury Forgeot d'Arc<br>
</div></div>