def __clear_to(self, size):
        old_tail = None
        while len(self.__lru_queue) > size:
            old_tail = self.__lru_queue.remove_tail()
            assert old_tail
            key = old_tail.key
            value = dict.__delitem__(self, key)
            self.__notify_listeners(True, [(key, value)])

        assert size <= len(self.__lru_queue)
        assert len(self) == len(self.__lru_queue)
        return old_tail
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/grizzled/grizzled/collections/dict.py/LRUDict.__clear_to/swapped operands of `<=`