New submission from Antoine Pitrou <pit...@free.fr>: This patch tries to provide better SSL errors by using OpenSSL's official mnemonics. The sub-library mnemonic (e.g. "SSL", "PEM"...) is provided as the "library" attribute on an exception, and the reason mnemonic (e.g. "CERTIFICATE_VERIFY_FAILED") is provided as the "reason" attribute.
I'm welcoming of any comments or suggestions. ---------- components: Extension Modules files: ssl_errs.patch keywords: patch messages: 160939 nosy: exarkun, pitrou priority: low severity: normal status: open title: Better SSL errors type: enhancement versions: Python 3.3 Added file: http://bugs.python.org/file25621/ssl_errs.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14837> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com