diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2017-11-18 18:54:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-18 18:54:05 +0200 |
commit | 51d546ae4d563fde608e23c9c337fefd7e95c93f (patch) | |
tree | d2bd875c8f22d60a2fc5a5c522bf17a424b97757 /Lib/asyncio/proactor_events.py | |
parent | f02f5e5c3eb815fff9578dc58de60374c6baaa3d (diff) | |
download | cpython-git-51d546ae4d563fde608e23c9c337fefd7e95c93f.tar.gz |
bpo-32069: Drop legacy SSL transport (#4451)
* Drop legacy SSL transport
* Drop unused import
* Fix Windows tests
* Drop never executed on Python 3.4+ code
Diffstat (limited to 'Lib/asyncio/proactor_events.py')
-rw-r--r-- | Lib/asyncio/proactor_events.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py index 5e7a39727c..e35d05b7bf 100644 --- a/Lib/asyncio/proactor_events.py +++ b/Lib/asyncio/proactor_events.py @@ -392,11 +392,6 @@ class BaseProactorEventLoop(base_events.BaseEventLoop): def _make_ssl_transport(self, rawsock, protocol, sslcontext, waiter=None, *, server_side=False, server_hostname=None, extra=None, server=None): - if not sslproto._is_sslproto_available(): - raise NotImplementedError("Proactor event loop requires Python 3.5" - " or newer (ssl.MemoryBIO) to support " - "SSL") - ssl_protocol = sslproto.SSLProtocol(self, protocol, sslcontext, waiter, server_side, server_hostname) _ProactorSocketTransport(self, rawsock, ssl_protocol, |