twisted.python.context
module documentationtwisted.python
View Source
Dynamic pseudo-scoping for Python.
Call functions with context.call({key: value}, func); func and functions that it calls will be able to use 'context.get(key)' to retrieve 'value'.
This is thread-safe.
Class | ContextTracker | A ContextTracker
provides a way to pass arbitrary key/value data up and down a call stack
without passing them as parameters to the functions on that call stack. |
Class | ThreadedContextTracker | Undocumented |
Function | installContextTracker | Undocumented |