def METHOD_NAME(self):
    now = time()
    startperiod = now - self.window
    period_attempts = []
    for tt in self.attempts:
        if tt > startperiod and tt <= now:
            period_attempts.append(tt)
    return period_attempts