backend.globaleaks.utils.tempdict

Module Contents

Classes

TempDict dict() -> new empty dictionary
class backend.globaleaks.utils.tempdict.TempDict(timeout=None)[source]

Bases: collections.OrderedDict

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. For example: dict(one=1, two=2)
expireCallback[source]
reactor[source]
get_timeout(self)[source]
set(self, key, item)[source]
get(self, key)[source]

Return the value for key if key is in the dictionary, else default.

delete(self, key)[source]
_expire(self, key)[source]