def stat(path): try: return util.cachestat(path) except OSError, e: if e.errno != errno.ENOENT: raise