summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/selector_events.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2017-12-30 05:35:36 (GMT)
committerGitHub <noreply@github.com>2017-12-30 05:35:36 (GMT)
commitf111b3dcb414093a4efb9d74b69925e535ddc470 (patch)
tree9905a970a809f7f14cb378b5b90f1f9d06aebbeb /Lib/asyncio/selector_events.py
parentbbdb17d19bb1d5443ca4417254e014ad64c04540 (diff)
downloadcpython-f111b3dcb414093a4efb9d74b69925e535ddc470.zip
cpython-f111b3dcb414093a4efb9d74b69925e535ddc470.tar.gz
cpython-f111b3dcb414093a4efb9d74b69925e535ddc470.tar.bz2
bpo-23749: Implement loop.start_tls() (#5039)
Diffstat (limited to 'Lib/asyncio/selector_events.py')
-rw-r--r--Lib/asyncio/selector_events.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py
index 1e4bd83..5692e38 100644
--- a/Lib/asyncio/selector_events.py
+++ b/Lib/asyncio/selector_events.py
@@ -694,6 +694,8 @@ class _SelectorTransport(transports._FlowControlMixin,
class _SelectorSocketTransport(_SelectorTransport):
+ _start_tls_compatible = True
+
def __init__(self, loop, sock, protocol, waiter=None,
extra=None, server=None):
super().__init__(loop, sock, protocol, extra, server)