I am not fully aware of how ssl.SSLContext is used, but adding __slots__ would 
prevent this. You would see an error similar to: AttributeError: 'MyClass' 
object has no attribute 'my_attribute'
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/CTC2BBSOKIWZ7QLXRKCFH2FP6OMBQXJX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to