[SciPy-dev] gui_thread issue

Prabhu Ramachandran prabhu_r at users.sf.net
Mon Nov 8 00:52:01 EST 2004


>>>>> "EJ" == eric jones <eric at enthought.com> writes:

    EJ> In ipython, Ctrl-C generates a keyboard interrupt in
    EJ> ipython.py *unless* I have imported gui_thread and started it.
    EJ> Then it kills the session.

[...]
    EJ> So, it looks like gui_thread changes the way <Ctrl-C> behaves.
    EJ> Anyone know of a fix for this (and the Ctrl-Z issue)?

Another data point.  Works for me too under Linux.

    In [1]: 'C-c'
    KeyboardInterrupt
    In [1]: import gui_thread
    In [2]: 'C-c'
    KeyboardInterrupt
    In [2]: gui_thread.start()
    In [3]: 'C-c'
    KeyboardInterrupt

cheers,
prabhu




More information about the SciPy-Dev mailing list