Christian Heimes added the comment:

Thanks Ethan! I have updated the patch with documentation and your fix.

Do you have an easy recipe to wrap properties like SSLContext.options to return 
an enum? It's not easy because super() does not support attribute proxy 
assignment. super().verify_mode = value raises an AttributeError.

----------
Added file: 
http://bugs.python.org/file44473/convert-ssl-constants-to-enums.patch

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

Reply via email to