summaryrefslogtreecommitdiff
path: root/Lib/asyncio/streams.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-28 14:43:52 +0100
committerGitHub <noreply@github.com>2017-11-28 14:43:52 +0100
commit3f438a9fa0aab5a598b4c94bbc24f9d0a23d012e (patch)
treea56013ffbf9cd0c3371f3c73e35bd966b6def7f0 /Lib/asyncio/streams.py
parenta10dc3efcbba8aa7cc7d1a017f8b22fc4fa8e87c (diff)
downloadcpython-git-3f438a9fa0aab5a598b4c94bbc24f9d0a23d012e.tar.gz
asyncio: Remove asyncio/compat.py (#4606)
The asyncio/compat.py file was written to support Python < 3.5 and Python < 3.5.2. But Python 3.5 doesn't accept bugfixes anymore, only security fixes. There is no more need to backport bugfixes to Python 3.5, and so no need to have a single code base for Python 3.5, 3.6 and 3.7. Say hello (again) to "async" and "await", who became real keywords in Python 3.7 ;-)
Diffstat (limited to 'Lib/asyncio/streams.py')
-rw-r--r--Lib/asyncio/streams.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py
index 30b751e989..05774e9530 100644
--- a/Lib/asyncio/streams.py
+++ b/Lib/asyncio/streams.py
@@ -12,7 +12,6 @@ if hasattr(socket, 'AF_UNIX'):
__all__.extend(['open_unix_connection', 'start_unix_server'])
from . import coroutines
-from . import compat
from . import events
from . import protocols
from .coroutines import coroutine