Guido van Rossum added the comment:

Why does the start_tls() function need to know the internal structure of the 
Transport? I'm hesitant to add this API to Transport; it somehow feels wrong to 
put such an implementation-specific thing there. E.g. I presume you can't do 
this for an UDP transport. Or perhaps it could be an API on a subclass of 
Transport -- then only members of that subclass will support this API.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23749>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to