##// END OF EJS Templates
Merge pull request #1556 from minrk/safe_query...
Merge pull request #1556 from minrk/safe_query shallow-copy DictDB query results `db_query()` with default keys pops buffers, and this would result in actually removing the buffers from the record itself. Later calls to `get_result()` would then raise a KeyError, which would go unhandled. This PR adds shallow-copy to DictDB results, so that changes to the returned dict are not reflected in the db itself. The bug revealed a general issue: ZMQStreams are closed when an exception is raised in their `on_recv()` callback (following the IOStream pattern, and on the general principal that a socket with failing handlers should not be allowed to continue), which meant that invoking this bug would prevent any future queries to the Hub. So in addition to fixing the particular bug, a decorator is added that catches and logs exceptions, and is applied to all `on_recv()` handlers in IPython.parallel, such that other similar bugs will no longer result in the closure of the socket. Previously failing tests included at the db and client levels.
Fernando Perez -
r6448:816e3fab merge
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 ...
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, 2.7, or 3.1 and above.

Instant running

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

$ python ipython.py