[issue28025] Use IntEnum and IntFlags in ssl module

Ethan Furman report at bugs.python.org
Thu Sep 8 14:56:29 EDT 2016


Ethan Furman added the comment:

Can you give me a code sample?

Also, wouldn't

<Options.ALL|NO_SSLv3|NO_SSLv2|NO_COMPRESSION: 2197947391>

be more readable?  And keep the "OP_" names as aliases.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28025>
_______________________________________


More information about the Python-bugs-list mailing list