##// END OF EJS Templates
inputhook: disable CTRL+C when a hook is active....
inputhook: disable CTRL+C when a hook is active. On systems with 'readline', it's very likely to intercept a signal during a select() call. The default SIGINT handler will schedule a KeyboardInterrupt exception to be raised as soon as possible. If ctypes is used to install a Python callback for PyOS_InputHook, this will happen as soon as the bytecode execution starts, so even if the first instruction of the callback is a `try: ... except KeyboardInterrupt` clause, it's actually too late. As ctypes doesn't allow a Python callback to raise an exception, this ends up with IPython detecting an internal error... not pretty. We must therefore ignore the SIGINT signals until we are sure the exception handler is active, in the Python callback.
Christian Boos -
r4944:0fc80df3
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