##// END OF EJS Templates
inputhook_qt4: handle KeyboardInterrupt in a way compatible with 'readline'....
inputhook_qt4: handle KeyboardInterrupt in a way compatible with 'readline'. While the previous code works fine on Windows, on Linux with 'readline' the situation is different: once we disable the Qt4 event loop, we go back waiting in the select() inside readline.c's readline_until_enter_or_signal() function. When that select() is interrupted, the PyOS_InputHook is executed if present and the pending KeyboardInterrupt is delivered as soon as bytecode execution starts, even before entering the `try:` clause! As at that point we're in a ctypes callback, this will lead to an internal error. The only solution is therefore to disable the PyOS_InputHook temporarily.
Christian Boos -
r4922:fa663483
Show More
Name Size Modified Last Commit Author
IPython
docs
scripts
setupext
tools
.gitattributes Loading ...
.gitignore Loading ...
.mailmap Loading ...
COPYING.txt Loading ...
MANIFEST.in Loading ...
README.rst Loading ...
ipython.py Loading ...
setup.py Loading ...
setup2.py Loading ...
setup3.py Loading ...
setupbase.py Loading ...
setupegg.py Loading ...

IPython: Productive Interactive Computing

Overview

Welcome to IPython. Our full documentation, including PDF versions of our manual, is available on our website; if you downloaded a built source distribution the docs/html directory contains an HTML version of the manual. The docs/source directory contains the plaintext version of these manuals.

Dependencies and supported Python versions

For full details, see the installation section of the manual. The basic parts of IPython only need the Python standard library, but much of its more advanced functionality requires extra packages.

Officially, IPython requires Python version 2.6 or 2.7. A separate repository contains our Python 3 version, as explained in our wiki.

Instant running

You can run IPython from this directory without even installing it system-wide by typing at the terminal:

$ python ipython.py