def cache_table(self):
    if (self.cache_element and self.cache_element.writable()):
        with SimpleTimer('Caching descriptor table', self._log.debug):
            self.cache_element.set_bytes(pickle.dumps(self._table, self.pickle_protocol))
def cache_table(self):
    if (self.cache_element and self.cache_element.writable()):
        with SimpleTimer('Caching descriptor table', self._log.debug):
            self.cache_element.set_bytes(pickle.dumps(self._table, self.pickle_protocol))