[issue14837] Better SSL errors

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou 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

[issue14837] Better SSL errors

2012-06-22 Thread Roundup Robot
Roundup Robot 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

[issue14837] Better SSL errors

2012-06-18 Thread Georg Brandl
Georg Brandl added the comment: I'd like to see this in 3.3. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list maili

[issue14837] Better SSL errors

2012-05-16 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 provid