[IPython-dev] Namespace pollution and a kernel panel
MinRK
benjaminrk at gmail.com
Fri Jun 15 17:26:30 EDT 2012
On Fri, Jun 15, 2012 at 2:22 PM, Bob McElrath <bob+ipython at mcelrath.org>wrote:
> MinRK [benjaminrk at gmail.com] wrote:
> >
> > But I think that's not feasible to actually enforce in Python, since
> arbitrary
> > code can cause arbitrary effects anywhere in the Python runtime.
>
> Just fork().
>
Not all code is not fork-safe. Most pertinent would be the zmq
context/sockets used by the kernel to communicate.
So this might work, as long as you don't need to actually see any outputs :)
> --
> Cheers, Bob McElrath
>
> "The individual has always had to struggle to keep from being overwhelmed
> by
> the tribe. If you try it, you will be lonely often, and sometimes
> frightened.
> But no price is too high to pay for the privilege of owning yourself."
> -- Friedrich Nietzsche
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120615/c72c2e31/attachment.html>
More information about the IPython-dev
mailing list