[New-bugs-announce] [issue16648] stdib should use new exception types from PEP 3151

Andrew Svetlov report at bugs.python.org
Sat Dec 8 20:35:47 CET 2012


New submission from Andrew Svetlov:

http://www.python.org/dev/peps/pep-3151 define exception classes like ConnectionError and BrokenPipeError

We need to refactor stdlib to use that shiny new exceptions instead of checking errno values if possible.

Also maybe we need to add some absent exceptions.
I guess NotConnectedError for ENOTCONN, which should be ConnectionError subclass.

----------
components: Library (Lib)
messages: 177174
nosy: asvetlov
priority: normal
severity: normal
stage: needs patch
status: open
title: stdib should use new exception types from PEP 3151
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16648>
_______________________________________


More information about the New-bugs-announce mailing list