def init_cache(self, d): # Check if we already have the caches if self.pythoncache: return MultiProcessCache.init_cache(self, d) # cachedata gets re-assigned in the parent self.pythoncache = self.cachedata[0] self.shellcache = self.cachedata[1]
def __init__(self): MultiProcessCache.__init__(self) self.pythoncache = self.cachedata[0] self.shellcache = self.cachedata[1] self.pythoncacheextras = self.cachedata_extras[0] self.shellcacheextras = self.cachedata_extras[1] # To avoid duplication in the codeparser cache, keep # a lookup of hashes of objects we already have self.pythoncachelines = {} self.shellcachelines = {}
def __init__(self): self.mtime_cache = FileMtimeCache() MultiProcessCache.__init__(self)
def init_cache(self, d): MultiProcessCache.init_cache(self, d) # cachedata gets re-assigned in the parent self.pythoncache = self.cachedata[0] self.shellcache = self.cachedata[1]
def __init__(self): MultiProcessCache.__init__(self) self.pythoncache = self.cachedata[0] self.shellcache = self.cachedata[1] self.pythoncacheextras = self.cachedata_extras[0] self.shellcacheextras = self.cachedata_extras[1]