summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/compat.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-28 13:43:52 (GMT)
committerGitHub <noreply@github.com>2017-11-28 13:43:52 (GMT)
commit3f438a9fa0aab5a598b4c94bbc24f9d0a23d012e (patch)
treea56013ffbf9cd0c3371f3c73e35bd966b6def7f0 /Lib/asyncio/compat.py
parenta10dc3efcbba8aa7cc7d1a017f8b22fc4fa8e87c (diff)
downloadcpython-3f438a9fa0aab5a598b4c94bbc24f9d0a23d012e.zip
cpython-3f438a9fa0aab5a598b4c94bbc24f9d0a23d012e.tar.gz
cpython-3f438a9fa0aab5a598b4c94bbc24f9d0a23d012e.tar.bz2
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/compat.py')
-rw-r--r--Lib/asyncio/compat.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/asyncio/compat.py b/Lib/asyncio/compat.py
deleted file mode 100644
index 520ec68..0000000
--- a/Lib/asyncio/compat.py
+++ /dev/null
@@ -1,6 +0,0 @@
-"""Compatibility helpers for the different Python versions."""
-
-import sys
-
-PY35 = sys.version_info >= (3, 5)
-PY352 = sys.version_info >= (3, 5, 2)