]> granicus.if.org Git - python/commit
bpo-32154: Remove asyncio.selectors (#4605)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 28 Nov 2017 14:19:56 +0000 (15:19 +0100)
committerGitHub <noreply@github.com>
Tue, 28 Nov 2017 14:19:56 +0000 (15:19 +0100)
commit4271dfd7815c05fd39b515c240050b3585bdfcd4
tree5e75da00e258d1381d4ed12b6f934b436999eecc
parent3f438a9fa0aab5a598b4c94bbc24f9d0a23d012e
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.
Doc/whatsnew/3.7.rst
Lib/asyncio/__init__.py
Lib/asyncio/selector_events.py
Lib/asyncio/test_utils.py
Lib/asyncio/unix_events.py
Lib/asyncio/windows_events.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_selector_events.py
Lib/test/test_asyncio/test_windows_events.py
Lib/test/test_asyncio/test_windows_utils.py