[issue11183] Finer-grained exceptions for the ssl module

2011-10-27 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset 2c4a9c778bb3 by Antoine Pitrou in branch 'default':
Issue #11183: Add finer-grained exceptions to the ssl module, so that
http://hg.python.org/cpython/rev/2c4a9c778bb3

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11183
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11183] Finer-grained exceptions for the ssl module

2011-10-27 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Committed now.

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11183
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11183] Finer-grained exceptions for the ssl module

2011-10-22 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Here is a patch. It adds SSLZeroReturnError, SSLWantReadError, 
SSLWantWriteError, SSLSyscallError and SSLEOFError.

--
keywords: +patch
Added file: http://bugs.python.org/file23498/sslerrors.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11183
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11183] Finer-grained exceptions for the ssl module

2011-10-22 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
stage: needs patch - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11183
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11183] Finer-grained exceptions for the ssl module

2011-07-13 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Note: the ERR_GET_REASON() macro helps get a more precise explanation of an 
error. We could add a reason attribute to raised exceptions, and also provide a 
mnemonic-integer mapping.

--
stage:  - needs patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11183
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11183] Finer-grained exceptions for the ssl module

2011-02-11 Thread Antoine Pitrou

New submission from Antoine Pitrou pit...@free.fr:

pyOpenSSL (*) has the good idea of defining exception subclasses for the 
various OpenSSL error codes (ZeroReturnError, WantReadError, etc.). The ssl 
module could do the same.

(*) http://packages.python.org/pyOpenSSL/openssl-ssl.html

--
components: Library (Lib)
messages: 128370
nosy: exarkun, giampaolo.rodola, pitrou
priority: normal
severity: normal
status: open
title: Finer-grained exceptions for the ssl module
type: feature request
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11183
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com