Package gyropy :: Module g_proxy :: Class object_store
[frames] | no frames]

Class object_store

source code


Instance Methods
 
__init__(self, storetype=dict)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
put(self, xid, x) source code
 
putid(self, x) source code
 
rm(self, oid) source code
 
get(self, xid) source code
 
disconnect(self)
This is only called for the rowlp case, and the object store is a WeakDictionary, so if we encounter an object, we know that something else references it.
source code
 
clear(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, storetype=dict)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

disconnect(self)

source code 

This is only called for the rowlp case, and the object store is a WeakDictionary, so if we encounter an object, we know that something else references it. Consequently, we cannot depend on it being deleted and calling its __del__ item any time soon.