uasyncio.core: create_task: Fix scheduling.

Should start with zero delay, not at zero absolute time.
pull/120/head
Paul Sokolovsky 2016-11-13 14:57:14 +03:00
rodzic b3c2d0f51e
commit f24493b1eb
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ class EventLoop:
def create_task(self, coro):
# CPython 3.4.2
self.call_at(0, coro)
self.call_later_ms_(0, coro)
# CPython asyncio incompatibility: we don't return Task object
def call_soon(self, callback, *args):