##// END OF EJS Templates
Merge pull request #2211 from minrk/datapub...
Merge pull request #2211 from minrk/datapub add data publication message Functions just like displaypub, but sends a namespace of actual data instead of representations. This uses the serialization/zero-copy machinery of the parallel code. The current interpretation of a sequence of data publications within a cell is updates of a single namespace. That is, a series of calls to publish_data(dict(A=...)) during a given cell will result in a single dict with the latest value of A, updated in-place. An alternate interpretation could be to keep appending to a list, but I expect the current update approach to be preferable. Changes along the way: AsyncResults no longer protect metadata access while results are pending. This was an artificial limitation, and impedes informed access of incomplete metadata, which actually works just fine.

File last commit:

r2267:928c921b
r8123:dfcd243b merge
Show More
ipy_app_completers.py
19 lines | 583 B | text/x-python | PythonLexer
""" Install various IPython completers
IPython extension that installs the completers related to external apps.
The actual implementations are in extensions/ipy_completers.py
"""
from IPython.core import ipapi
ip = ipapi.get()
from ipy_completers import *
ip.set_hook('complete_command', apt_completer, re_key = '.*apt-get')
ip.set_hook('complete_command', svn_completer, str_key = 'svn')
ip.set_hook('complete_command', hg_completer, str_key = 'hg')
# the old bzr completer is deprecated, we recommend ipy_bzr
#ip.set_hook('complete_command', bzr_completer, str_key = 'bzr')