Inheritance diagram for IPython.parallel.util:
some generic utilities for dealing with classes, urls, and serialization
Authors:
Bases: dict
Subclass of dict for attribute access to keys.
x.__init__(...) initializes x; see help(type(x)) for signature
v defaults to None.
If key is not found, d is returned if given, otherwise KeyError is raised
2-tuple; but raise KeyError if D is empty.
If E has a .keys() method, does: for k in E: D[k] = E[k] If E lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
Bases: dict
simple double-keyed subset of dict methods.
v defaults to None.
2-tuple; but raise KeyError if D is empty.
If E has a .keys() method, does: for k in E: D[k] = E[k] If E lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
turn multi-ip interfaces ‘0.0.0.0’ and ‘*’ into connectable ones, based on the location (default interpretation of location is localhost).
turn multi-ip interfaces ‘0.0.0.0’ and ‘*’ into connectable ones, based on the location (default interpretation is localhost).
decorator for making functions appear as interactively defined. This results in the function being linked to the user_ns as globals() instead of the module globals().
boolean check for whether a string is a zmq url
decorator to log unhandled exceptions raised in a method.
For use wrapping on_recv callbacks, so that exceptions do not cause the stream to be closed.
Selects and return n random ports that are available.
Relay interupt/term signals to children, for more solid process cleanup.
split a zmq url (tcp://ip:port) into (‘tcp’,’ip’,’port’).
validate a url for zeromq
validate a potentially nested collection of urls.