<br><br><div class="gmail_quote">On Fri, Jun 15, 2012 at 2:22 PM, Bob McElrath <span dir="ltr"><<a href="mailto:bob+ipython@mcelrath.org" target="_blank">bob+ipython@mcelrath.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">MinRK [<a href="mailto:benjaminrk@gmail.com">benjaminrk@gmail.com</a>] wrote:<br>
><br>
> But I think that's not feasible to actually enforce in Python, since arbitrary<br>
> code can cause arbitrary effects anywhere in the Python runtime.<br>
<br>
</div>Just fork().<br></blockquote><div><br></div><div>Not all code is not fork-safe. Most pertinent would be the zmq context/sockets used  by the kernel to communicate.</div><div><br></div><div>So this might work, as long as you don't need to actually see any outputs :)</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
--<br>
Cheers, Bob McElrath<br>
<br>
"The individual has always had to struggle to keep from being overwhelmed by<br>
the tribe.  If you try it, you will be lonely often, and sometimes frightened.<br>
But no price is too high to pay for the privilege of owning yourself."<br>
    -- Friedrich Nietzsche<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br>