def __getstate__(self):
        d=self.__dict__
        for key in self.keydata:
            if d.has_key(key): d[key]=long(d[key])
        return d
set callback, on error store in localstore and retry after flush_timeout
dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/Crypto/PublicKey/pubkey.py/pubkey.__getstate__--crossover with--dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/storage.py/Storage.set_cb