##// 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:

r11336:24b78a4d
r21347:88bc745d
Show More
__main__.py
14 lines | 464 B | text/x-python | PythonLexer
# encoding: utf-8
"""Terminal-based IPython entry point.
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2012, IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
from IPython import start_ipython
start_ipython()