[issue14837] Better SSL errors
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 96513d71e650 by Antoine Pitrou in branch 'default': Issue #14837: SSL errors now have `library` and `reason` attributes describing precisely what happened and in which OpenSSL submodule. http://hg.python.org/cpython/rev/96513d71e650 New changeset e193fe3d017e by Antoine Pitrou in branch 'default': Add forgotten files for #14837. http://hg.python.org/cpython/rev/e193fe3d017e -- nosy: +python-dev ___ 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
[issue14837] Better SSL errors
Antoine Pitrou pit...@free.fr added the comment: There it is, Georg :) As mentioned in the commit message, this unfortunately creates a reference leak, which is apparently related to the use of the stable ABI. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ 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
[issue14837] Better SSL errors
Georg Brandl ge...@python.org added the comment: I'd like to see this in 3.3. -- nosy: +georg.brandl ___ 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
[issue14837] Better SSL errors
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