Christian Heimes added the comment: Too bad, but the ugly variant will suffice.
>>> import ssl >>> ctx = ssl.create_default_context() >>> ctx.options <Options.OP_ALL|OP_NO_SSLv3|OP_NO_SSLv2|OP_NO_COMPRESSION: 2197947391> >>> ctx.verify_flags <VerifyFlags.VERIFY_X509_TRUSTED_FIRST: 32768> >>> ctx.verify_mode <VerifyMode.CERT_REQUIRED: 2> Latest patch: https://github.com/tiran/cpython/commits/feature/ssl_enum ---------- _______________________________________ 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