Sync asyncio changes from the main repo.

This commit is contained in:
Yury Selivanov 2015-05-11 14:23:38 -04:00
parent 37c4f78390
commit 740169cd24
5 changed files with 94 additions and 16 deletions

View file

@ -277,7 +277,7 @@ class AbstractEventLoop:
def call_soon_threadsafe(self, callback, *args):
raise NotImplementedError
def run_in_executor(self, executor, callback, *args):
def run_in_executor(self, executor, func, *args):
raise NotImplementedError
def set_default_executor(self, executor):
@ -438,6 +438,14 @@ class AbstractEventLoop:
def remove_signal_handler(self, sig):
raise NotImplementedError
# Task factory.
def set_task_factory(self, factory):
raise NotImplementedError
def get_task_factory(self):
raise NotImplementedError
# Error handlers.
def set_exception_handler(self, handler):