From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 168F41382C5 for ; Thu, 26 Apr 2018 09:37:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BC70E0823; Thu, 26 Apr 2018 09:37:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9268E0823 for ; Thu, 26 Apr 2018 09:37:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A4CC335C2E for ; Thu, 26 Apr 2018 09:37:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 660F2298 for ; Thu, 26 Apr 2018 09:37:44 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1524735069.a65d93bdeb4d964603cd0ce9b0a75a571c9bdefa.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/util/_async/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/util/_async/SchedulerInterface.py X-VCS-Directories: pym/portage/util/_async/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: a65d93bdeb4d964603cd0ce9b0a75a571c9bdefa X-VCS-Branch: master Date: Thu, 26 Apr 2018 09:37:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e6d0ec40-fdb4-4304-974e-bb37703dd385 X-Archives-Hash: 89b6e0abf52e5db58f11f520c267ac57 commit: a65d93bdeb4d964603cd0ce9b0a75a571c9bdefa Author: Zac Medico gentoo org> AuthorDate: Thu Apr 26 09:19:22 2018 +0000 Commit: Zac Medico gentoo 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")