Andrew Svetlov added the comment:
-1, agree with Yury.
As an option it's possible to wrap `sslproto.SSLProtocol` by custom derived
class which overrides `connection_made()` for storing a transport somewhere.
The solution looks like sub-optimal but it's backward-compatible.
The other problem is: `sslproto` is a very private module for working with SSL
if `ssl.MemoryBIO` is available.
I believe that third-party code shouldn't rely on `sslproto.SSLProtocol` and
even on `asyncio.sslproto` existence.
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list