##// END OF EJS Templates
BUG: Ctrl+C crashes wx pylab kernel in qtconsole....
BUG: Ctrl+C crashes wx pylab kernel in qtconsole. Wx import sets the SIGINT handler to 0 so we reset it to python's default_int_handler to handle Ctrl+C. The following thread discusses the issue: http://mail.scipy.org/pipermail/ipython-dev/2012-April/008942.html

File last commit:

r4767:6c940b74
r6434:76a9b91e
Show More
ipython_config.py
11 lines | 348 B | text/x-python | PythonLexer
c = get_config()
# If the master config file uses syntax that's invalid in Python 3, we'll skip
# it and just use the factory defaults.
try:
load_subconfig('ipython_config.py', profile='default')
except Exception:
pass
else:
# We reset exec_lines in case they're not compatible with Python 3.
c.InteractiveShellApp.exec_lines = []