##// 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
/ docs
attic
emacs
examples
man
source
sphinxext
Makefile Loading ...
README.txt Loading ...
README_Windows.txt Loading ...
api_changes.txt Loading ...
autogen_api.py Loading ...
do_sphinx.py Loading ...
gh-pages.py Loading ...
pycon.ico Loading ...
update_version.sh Loading ...

Current version information
---------------------------

Please open manual.pdf for a PDF version of IPython's user manual, or go to
the manual/ directory for an HTML version.


Bugs and future developments
----------------------------

The new_design.pdf document is a description of the goals for IPython's future
development. It includes a TODO/bugs section listing all currently known bugs
in IPython. Please report any bug you encounter if it is not already listed
there.