From 4271dfd7815c05fd39b515c240050b3585bdfcd4 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 28 Nov 2017 15:19:56 +0100 Subject: bpo-32154: Remove asyncio.selectors (#4605) * Remove asyncio.selectors and asyncio._overlapped symbols from the namespace of the asyncio module * Replace "from asyncio import selectors" with "import selectors" * Replace "from asyncio import _overlapped" with "import _overlapped" asyncio.selectors was added to support Python 3.3, which doesn't have selectors in its standard library, and Python 3.4 in the same code base. Same rationale for asyncio._overlapped. Python 3.3 reached its end of life, and asyncio is no more maintained as a third party module on PyPI. --- Lib/asyncio/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/asyncio/test_utils.py') diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index c3ddfe3756..f797b2f0be 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py @@ -6,6 +6,7 @@ import io import logging import os import re +import selectors import socket import socketserver import sys @@ -28,7 +29,6 @@ except ImportError: # pragma: no cover from . import base_events from . import events from . import futures -from . import selectors from . import tasks from .coroutines import coroutine from .log import logger -- cgit v1.2.1