[IPython-dev] Fwd: wxPython console

Emmanuel Bacry emmanuel.bacry at polytechnique.fr
Mon Apr 9 15:55:39 EDT 2012

You are right !
It has to do with the fact that I use pylab with 'wx' 
If I don't then it works....

More clearly : 

if in the config file of ipython I add 

 c.IPKernelApp.pylab = 'wx' 

then ctrl-C does not work properly, otherwise, it does.

Is there a way to avoid that ?


> On 9 April 2012 20:29, Emmanuel Bacry <emmanuel.bacry at polytechnique.fr> wrote:
>> and then in the console I execute any function that takes time and whenever I ctrl-C I have a dialog asking me whether I want to restart the kernel and i I say no, nothing happens ???
> Can you replicate this with:
> import time
> time.sleep(10)
> [Ctrl-C]
> On my machine, that works as expected - I get a traceback from a
> KeyboardInterrupt in the sleep call. If that works, then the problem
> is in the functions you're calling - the interrupt must be causing
> them to crash the kernel process. The dialog you mention appears when
> the Qt console detects that its kernel has died.
> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

More information about the IPython-dev mailing list