ipython/ipython — Issue #1157: Ctrl-C not working when GUI/pylab integration is active
Author: fperez
Created: 2011-12-15 20:28:08+00:00
State: open
Labels: prio-blocker, regression, type-bug

As @juliantaylor mentioned in #825, it seems that recently `Ctrl-C` stopped working. To see it, open a normal ipython; first verify that you can interrupt a normal operation:

```
In [1]: import time; time.sleep(3)
^C---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
/home/fperez/tmp/src/scipy/ in ()
----> 1 import time; time.sleep(3)

KeyboardInterrupt:
```

Then turn GUI support on and try again:

```
In [2]: gui qt
Out[2]:

In [3]: import time; time.sleep(3)
^C^C^C
In [4]:
```

Above, I hit `^C` three times and nothing happened, the `time.sleep(3)` ran to completion without the interrupt working.

This is new and a major issue we do need to resolve before releasing 0.12.