def __iter__(self):
        at = 0

        results = list(self.queryset[at:(at + self.step)])
        while results and (not self.limit or self.limit < at):
            for result in results:
                yield result
            at += self.step
            results = list(self.queryset[at:(at + self.step)])
dataset/ETHPy150Open disqus/django-db-utils/dbutils/querysets.py/IterableQuerySetWrapper.__iter__/swapped operands of `<`