New submission from Christian Heimes: The patch removes ssl._import_symbols and adds more enums to the ssl module. Please review the patch. I'll update documentation in the next step.
With IntFlags it is much easier to understand flags like SSLContext.options >>> import ssl >>> ctx = ssl.create_default_context() >>> ssl.Options(ctx.options) <Options.OP_ALL|OP_NO_SSLv3|OP_NO_SSLv2|OP_NO_COMPRESSION: 2197947391> ---------- files: ssl_enum.patch keywords: patch messages: 275076 nosy: alex, christian.heimes, dstufft, giampaolo.rodola, haypo, janssen priority: normal severity: normal stage: patch review status: open title: Use IntEnum and IntFlags in ssl module type: enhancement versions: Python 3.6 Added file: http://bugs.python.org/file44468/ssl_enum.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