[IPython-dev] Zmq Terminal.

Evan Patterson epatters at enthought.com
Wed May 25 14:20:56 EDT 2011

On May 25, 2011, at 1:12 PM, Thomas Kluyver wrote:

> On 25 May 2011 19:05, Evan Patterson <epatters at enthought.com> wrote:
> I think it is good principle to ensure that the kernel is as robust as possible to misbehaving clients. This means that it should be prepared to handle SIGINT at any time.
> That makes sense, although I still think that we should also insulate the kernel from the user when the terminal contains the frontend too.

Now that I can get behind. The kernel shouldn't be exposed to random junk from the frontend terminal. os.setpid() may be the solution for that, but it's probably worth doing a little more investigation.

> Shall I add a try/except KeyboardInterrupt inside the loop in IPython.zmq.ipkernel.Kernel.start()?

Yep, I think that's where it makes sense to have it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110525/bc9d801a/attachment.html>

More information about the IPython-dev mailing list