[IPython-dev] make ctrl-c stop causing a crash exit with %gui and PyQt5

Thomas Kluyver takowl at gmail.com
Fri May 8 18:24:35 EDT 2015


Thanks Erik! Do you want to make a pull request with that change against
https://github.com/jupyter/qtconsole ?

Best wishes,
Thomas

On 8 May 2015 at 15:17, Erik Hvatum <ice.rikh at gmail.com> wrote:

> Patch attached.  I think I'm fixing a straightforward oversight;
> create_inputhook_qt4 wants a an InputHookManager object as its first
> argument, not an InputHookBase.  However, we get away with supplying the
> wrong object until someone hits ctrl-c.  Passing the right object makes
> graceful ctrl-c event loop integration work properly, rather than causing
> IPython to exit.
>
> This seems familiar, but I'm not finding anything when I search.
> Apologies if this issue is old news :)
>
> Cheers,
> Erik
>
> _______________________________________________
> 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/20150508/3be4aa03/attachment.html>


More information about the IPython-dev mailing list