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.

Author Pastafarianist
Recipients Pastafarianist
Date 2015-08-04.20:10:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438719042.84.0.137488437732.issue24788@psf.upfronthosting.co.za>
In-reply-to
Content
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 HTTPException. It might be better to change the parent class to IOError instead.
History
Date User Action Args
2015-08-04 20:10:42Pastafarianistsetrecipients: + Pastafarianist
2015-08-04 20:10:42Pastafarianistsetmessageid: <1438719042.84.0.137488437732.issue24788@psf.upfronthosting.co.za>
2015-08-04 20:10:42Pastafarianistlinkissue24788 messages
2015-08-04 20:10:42Pastafarianistcreate