aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-03-07 01:28:08 -0800
committerZac Medico <zmedico@gentoo.org>2021-03-07 01:28:37 -0800
commite0b6fbdf6543c19c63bbca007278d48003b807ad (patch)
treec741163d80887e46b83bce7e717e42f8645af732
parentRemove unused _PortageEventLoop and _PortageChildWatcher (diff)
downloadportage-e0b6fbdf6543c19c63bbca007278d48003b807ad.tar.gz
portage-e0b6fbdf6543c19c63bbca007278d48003b807ad.tar.bz2
portage-e0b6fbdf6543c19c63bbca007278d48003b807ad.zip
AsyncioEventLoop: remove obsolete supports_multiprocessing attribute
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--lib/portage/util/_eventloop/asyncio_event_loop.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/portage/util/_eventloop/asyncio_event_loop.py b/lib/portage/util/_eventloop/asyncio_event_loop.py
index b77728088..6dfac3569 100644
--- a/lib/portage/util/_eventloop/asyncio_event_loop.py
+++ b/lib/portage/util/_eventloop/asyncio_event_loop.py
@@ -1,4 +1,4 @@
-# Copyright 2018-2020 Gentoo Authors
+# Copyright 2018-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
import os
@@ -17,11 +17,6 @@ class AsyncioEventLoop(_AbstractEventLoop):
event loop and is minimally compatible with _PortageEventLoop.
"""
- # Use portage's internal event loop in subprocesses, as a workaround
- # for https://bugs.python.org/issue22087, and also
- # https://bugs.python.org/issue29703 which affects pypy3-5.10.1.
- supports_multiprocessing = False
-
def __init__(self, loop=None):
loop = loop or _real_asyncio.get_event_loop()
self._loop = loop