##// END OF EJS Templates
create_inputhook_qt4 wants an InputHookManager object as its first...
create_inputhook_qt4 wants an InputHookManager object as its first argument, not an InputHookBase. However, we get away with supplying the wrong object until someone hits ctrl-c. Passing the right object makes graceful ctrl-c event loop integration work properly, rather than causing IPython to exit. This seems like a straightforward fix, but I may be missing something.

File last commit:

r21337:03608cd1
r21347:88bc745d
Show More
kernel.py
12 lines | 248 B | text/x-python | PythonLexer
"""[DEPRECATED] Utilities for connecting to kernels
Moved to IPython.kernel.connect
"""
import warnings
warnings.warn("IPython.lib.kernel moved to IPython.kernel.connect in IPython 1.0",
DeprecationWarning
)
from ipykernel.connect import *