'Return an os.stat() tuple.'

def stat(self, raising=True):

    if (raising == True):
        return Stat(self, py.error.checked_call(os.stat, self.strpath))
    try:
        return Stat(self, os.stat(self.strpath))
    except KeyboardInterrupt:
        raise
    except Exception:
        return None
