##// END OF EJS Templates
Backport PR #2305: RemoteError._render_traceback_ calls self.render_traceback...
Backport PR #2305: RemoteError._render_traceback_ calls self.render_traceback rather than an alias There are two options here: 1. `_render_traceback_` should *call* render_traceback 2. any subclass that redefines render_traceback must also redefine `_render_traceback_` I went with 1., which is more efficient code-wise when subclassing RemoteError (would prevent future cases of this same mistake), but less efficient execution-wise, because it involves an extra function call. closes #2303

File last commit:

r6455:15863dc1
r8379:0e42613f
Show More
views.py
15 lines | 195 B | text/x-python | PythonLexer
from IPython.parallel import *
client = Client()
for id in client.ids:
client[id].push(dict(ids=id*id))
v = client[0]
v['a'] = 5
print(v['a'])
remotes = client[:]
print(remotes['ids'])