[IPython-dev] Zmq Terminal.

Thomas Kluyver takowl at gmail.com
Wed May 25 12:47:25 EDT 2011

On 25 May 2011 17:20, Evan Patterson <epatters at enthought.com> wrote:

> I am wondering why this should be necessary at all, though. Shouldn't the
> kernel process always trap Ctrl+C signals at some point to prevent them from
> hosing the kernel? I've actually had a few problems with this myself.
> Sometimes when I interrupt the kernel from the Qt console, the whole kernel
> goes down.

It's when the frontend is accepting input - so Ctrl-C should just give you a
clean prompt, without sending anything to the kernel. We could catch the
exception in the kernel and ignore, but it doesn't feel like the right way
to do it. I'd prefer to arrange it so that the signal from the user hitting
Ctrl-C doesn't reach the kernel at all.

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

More information about the IPython-dev mailing list