[Python-checkins] cpython (3.4): SSLProtocol: set the _transport attribute in the constructor
victor.stinner
python-checkins at python.org
Thu Jan 15 13:31:20 CET 2015
https://hg.python.org/cpython/rev/1fca25b4ea1f
changeset: 94166:1fca25b4ea1f
branch: 3.4
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Jan 15 13:16:27 2015 +0100
summary:
SSLProtocol: set the _transport attribute in the constructor
files:
Lib/asyncio/sslproto.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py
--- a/Lib/asyncio/sslproto.py
+++ b/Lib/asyncio/sslproto.py
@@ -417,6 +417,7 @@
self._session_established = False
self._in_handshake = False
self._in_shutdown = False
+ self._transport = None
def connection_made(self, transport):
"""Called when the low-level connection is made.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list