Skip to content

bpo-32154: Remove asyncio.selectors#4605

Merged
vstinner merged 2 commits into
python:masterfrom
vstinner:asyncio_namespace
Nov 28, 2017
Merged

bpo-32154: Remove asyncio.selectors#4605
vstinner merged 2 commits into
python:masterfrom
vstinner:asyncio_namespace

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Nov 28, 2017

  • 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.

https://bugs.python.org/issue32154

* 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.
@vstinner vstinner merged commit 4271dfd into python:master Nov 28, 2017
@vstinner vstinner deleted the asyncio_namespace branch November 28, 2017 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants