[New-bugs-announce] [issue14837] Better SSL errors

Antoine Pitrou report at bugs.python.org
Thu May 17 00:45:39 CEST 2012


New submission from Antoine Pitrou <pitrou at 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 <report at bugs.python.org>
<http://bugs.python.org/issue14837>
_______________________________________


More information about the New-bugs-announce mailing list