[IPython-dev] Namespace pollution and a kernel panel

MinRK benjaminrk@gmail....
Fri Jun 15 16:26:30 CDT 2012


On Fri, Jun 15, 2012 at 2:22 PM, Bob McElrath <bob+ipython@mcelrath.org>wrote:

> MinRK [benjaminrk@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@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20120615/c72c2e31/attachment.html 


More information about the IPython-dev mailing list