def purge_items(self, max_age):
        now = int(time.time())
        feeds = set(self.feeds)
        for item in list(self.items):
            age = now - item.received
            if age > max_age or item.feed not in feeds:
                self.items.remove(item)
dataset/ETHPy150Open fogleman/FeedNotifier/feeds.py/FeedManager.purge_items/original