commit: a65d93bdeb4d964603cd0ce9b0a75a571c9bdefa Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Thu Apr 26 09:19:22 2018 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Thu Apr 26 09:31:09 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a65d93bd
SchedulerInterface: expose AbstractEventLoop methods (bug 591760) Bug: https://bugs.gentoo.org/591760 pym/portage/util/_async/SchedulerInterface.py | 34 +++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/pym/portage/util/_async/SchedulerInterface.py b/pym/portage/util/_async/SchedulerInterface.py index 21420ae41..ab2a70852 100644 --- a/pym/portage/util/_async/SchedulerInterface.py +++ b/pym/portage/util/_async/SchedulerInterface.py @@ -13,10 +13,36 @@ class SchedulerInterface(SlotObject): _event_loop_attrs = ("IO_ERR", "IO_HUP", "IO_IN", "IO_NVAL", "IO_OUT", "IO_PRI", - "call_soon", "call_soon_threadsafe", - "child_watch_add", "create_future", - "idle_add", "io_add_watch", "iteration", "run_until_complete", - "source_remove", "timeout_add") + "child_watch_add", + "idle_add", + "io_add_watch", + "iteration", + "source_remove", + "timeout_add", + + "add_reader", + "add_writer", + "call_at", + "call_exception_handler", + "call_later", + "call_soon", + "call_soon_threadsafe", + "close", + "create_future", + "default_exception_handler", + "get_debug", + "is_closed", + "is_running", + "remove_reader", + "remove_writer", + "run_in_executor", + "run_until_complete", + "set_debug", + "time", + + "_asyncio_child_watcher", + "_asyncio_wrapper", + ) __slots__ = _event_loop_attrs + ("_event_loop", "_is_background")