def set(self, key, value, mtime=None):
        del self[key]
        self.__values[key] = value
        try:
            pos = self.__access_keys.remove(key)
        except __HOLE__:
            pass
        self.__access_keys.insert(0, key)
        if self.check_modified_time:
            self.__modified_times[key] = mtime or os.path.getmtime(key)
        self.cleanup()
dataset/ETHPy150Open limodou/uliweb/uliweb/core/template.py/LRUTmplatesCacheDict.set