[IPython-dev] Fwd: wxPython console
Mon Apr 9 14:55:39 CDT 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 <firstname.lastname@example.org> 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
> 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.
> IPython-dev mailing list
More information about the IPython-dev