##// END OF EJS Templates
Merge pull request #1155 from minrk/postexec...
Merge pull request #1155 from minrk/postexec Be less aggressive in de-registering failing post-execute functions so that normal errors don't disable them permanently. Two changes: 1. Don't unregister failing post-exec callbacks automatically. Instead, print a message regarding the failure, pointing to new `disable_failing_post_execute` trait for skipping failing callbacks. - When this flag is False (the default), failing callbacks will continue to be called. - When True, behavior is unchanged from previous, where callbacks are only allowed to fail once. 2. protect `flush_figures()` post-exec function from user error. Invalid matplotlib data may raise inside `print_figure()`. flush_figures() is a post-exec function, so user errors should not raise. Instead, call `get_ipython().showtraceback()` if called from IPython, raising as before otherwise. closes #1154

File last commit:

r4725:7bde2f38
r5737:2c683b72 merge
Show More
__init__.py
40 lines | 1011 B | text/x-python | PythonLexer
MinRK
update recently changed modules with Authors in docstring
r4018 """The IPython ZMQ-based parallel computing interface.
Authors:
* MinRK
"""
MinRK
cleanup pass
r3644 #-----------------------------------------------------------------------------
# Copyright (C) 2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
MinRK
depend on pyzmq-2.1dev on Windows...
r3779 import os
MinRK
warn on detection of libzmq 3
r4248 import warnings
MinRK
pyzmq-2.1.3 related testing adjustments
r3661 import zmq
MinRK
use ROUTER/DEALER socket names instead of XREP/XREQ...
r4725 from IPython.zmq import check_for_zmq
MinRK
depend on pyzmq-2.1dev on Windows...
r3779
if os.name == 'nt':
MinRK
use ROUTER/DEALER socket names instead of XREP/XREQ...
r4725 min_pyzmq = '2.1.7'
else:
min_pyzmq = '2.1.4'
MinRK
warn on detection of libzmq 3
r4248
MinRK
use ROUTER/DEALER socket names instead of XREP/XREQ...
r4725 check_for_zmq(min_pyzmq, 'IPython.parallel')
MinRK
warn on detection of libzmq 3
r4248
MinRK
move IPython.zmq.parallel to IPython.parallel
r3666 from IPython.utils.pickleutil import Reference
MinRK
add DirectView.importer contextmanager, demote targets to mutable flag...
r3665
MinRK
organize IPython.parallel into subpackages
r3673 from .client.asyncresult import *
from .client.client import Client
from .client.remotefunction import *
from .client.view import *
from .controller.dependency import *
MinRK
add DirectView.importer contextmanager, demote targets to mutable flag...
r3665