workerpool.jobs.SimpleJob:
Given a `result` queue, a `method` pointer, and an `args`
dictionary or list, the method will execute r = method(*args) or r
= method(**args), depending on args' type, and perform
result.put(r).
workerpool.workers.Worker:
A loyal worker who will pull jobs from the `jobs` queue and perform
them.
starcluster.threadpool.DaemonWorker:
Improved Worker that sets daemon = True by default and also handles
communicating exceptions to the parent pool object by adding them
to the parent pool's exception queue
dict:
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
(key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
d = {}
for k, v in iterable:
d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list.