Pastafarianist added the comment:
My bad then.
How do we proceed with introducing a change to the standard library?
--
___
Python tracker
<http://bugs.python.org/issue24
Pastafarianist added the comment:
I agree that the five exception types you mentioned (UnknownProtocol,
UnknownTransferEncoding, IncompleteRead, BadStatusLine, LineTooLong) should be
derived from IOError. EOFError is probably not a good choice here. It's not
something I would expect to s
New submission from Pastafarianist:
In both Python 2 and Python 3, HTTPException is derived from Exception. This is
not quite convenient, since catching all connection-related errors while
performing an HTTP query requires catching both IOError (which is subclassed by
socket.error) and