Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-32154: Remove asyncio.selectors #4605

Merged
merged 2 commits into from
Nov 28, 2017
Merged

bpo-32154: Remove asyncio.selectors #4605

merged 2 commits into from
Nov 28, 2017

Conversation

vstinner
Copy link
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