mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Sync asyncio changes from the main repo.
This commit is contained in:
parent
37c4f78390
commit
740169cd24
5 changed files with 94 additions and 16 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue