@engine.async
    def cpu_bound(self):
        t = time.time()
        self.status[0]["text"] = "calculating..."
        prime_flags = yield MultiProcessTask(
            [Task(is_prime, n) for n in PRIMES]
        )
        print t - time.time()
        text = '\n'.join("%s: %s" % (n, prime)
                         for n, prime in zip(PRIMES, prime_flags))
        self.status[0]["text"] = text
dataset/ETHPy150Open reclosedev/async_gui/examples/tk_app.py/Application.cpu_bound/swapped operands of `-`