This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Константин Волков
Recipients gvanrossum, yselivanov, Константин Волков
Date 2016-09-20.09:21:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474363317.54.0.62853026596.issue28213@psf.upfronthosting.co.za>
In-reply-to
Content
Seems that this field must not be private(or must have read-only property) as it is supposed to use outside of class.

I catched that, when implemented STARTTLS smtp process, when you must start SSL connection over existing socket connection. Currently it is not hard, its easy to add SSL layer as loop do:

self._tls_protocol = sslproto.SSLProtocol()
socket_transport = self.transport
socket_transport._protocol = self._tls_protocol
self.transport = self._tls_protocol._app_transport
self._tls_protocol.connection_made(socket_transport)

But here you must access to private property "app_transport". It must be public because its purpose to public "result" of SSL layer implementation. 

From class BaseSelectorEventLoop:

def _make_ssl_transport(...):
    ...
    return ssl_protocol._app_transport
History
Date User Action Args
2016-09-20 09:21:57Константин Волковsetrecipients: + Константин Волков, gvanrossum, yselivanov
2016-09-20 09:21:57Константин Волковsetmessageid: <1474363317.54.0.62853026596.issue28213@psf.upfronthosting.co.za>
2016-09-20 09:21:57Константин Волковlinkissue28213 messages
2016-09-20 09:21:57Константин Волковcreate