def enter(self):
        self.is_lazy = vim.eval('&lazyredraw')
        while True:
            key, is_special = get_key()
            if key:
                if is_special:
                    if key in self.handlers:
                        h, a = self.handlers[key]
                        h(*a)
                else:
                    if 'print' in self.handlers:
                        h, a = self.handlers['print']
                        h(key, *a)
            else:
                t = time()
                self.reenter = True
                while self.tasks:
                    task = self.tasks.pop(0)
                    try:
                        next(task)
                    except StopIteration:
                        self.do_release = True
                    else:
                        self.tasks.append(task)

                    tt = time()
                    if TIME_SLICE > tt - t:
                        break
                else:
                    sleep(TIME_SLICE)

            if self.do_release:
                self.do_release = False

                if self.reenter:
                    waiting_loops.append(self)
                    vfunc.feedkeys(self.feedkeys)

                if self.is_lazy:
                    redraw()

                return
dataset/ETHPy150Open baverman/vial/vial/loop.py/Loop.enter/swapped operands of `>`