This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年02月11日 10:08 by pitrou, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| sslerrors.patch | pitrou, 2011年10月22日 22:23 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg128370 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2011年02月11日 10:08 | |
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 |
|||
| msg140292 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2011年07月13日 17:53 | |
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. |
|||
| msg146196 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2011年10月22日 22:23 | |
Here is a patch. It adds SSLZeroReturnError, SSLWantReadError, SSLWantWriteError, SSLSyscallError and SSLEOFError. |
|||
| msg146522 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年10月27日 22:01 | |
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 |
|||
| msg146523 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2011年10月27日 22:03 | |
Committed now. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:12 | admin | set | github: 55392 |
| 2011年10月27日 22:03:53 | pitrou | set | status: open -> closed resolution: fixed messages: + msg146523 stage: patch review -> resolved |
| 2011年10月27日 22:01:15 | python-dev | set | nosy:
+ python-dev messages: + msg146522 |
| 2011年10月22日 22:23:38 | pitrou | set | stage: needs patch -> patch review |
| 2011年10月22日 22:23:32 | pitrou | set | files:
+ sslerrors.patch keywords: + patch messages: + msg146196 |
| 2011年07月13日 17:53:08 | pitrou | set | messages:
+ msg140292 stage: needs patch |
| 2011年02月11日 10:08:30 | pitrou | create | |