Christian Heimes <li...@cheimes.de> added the comment:

+1 for the idea

Yes, for simple flags and settings, an attribute on the SSLContext is prefer. 
The SSLContext object is the configuration space for its connections. I would 
prefer to keep the setting only on the context and not clutter SSLSocket and 
SSLObject with additional attributes. PR 13719 goes one step further and 
restricts the setter to a PROTOCOL_TLS_SERVER, too.

Let's look in the callback another time. I won't be able to come up with a 
wrapper for that in the next three days.

----------

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

Reply via email to