[issue8823] urllib2 does not catch httplib.BadStatusLine

Martin Panter report at bugs.python.org
Mon Nov 16 17:09:16 EST 2015


Martin Panter added the comment:

Issue 13736 also proposes to wrap HTTP client exceptions, although I personally don’t really endorse this.

The other option is to fix the documentation: Issue 25633, Issue 22797.

----------
resolution: accepted -> duplicate
status: open -> closed
superseder:  -> urllib.request.urlopen leaks exceptions from socket and httplib.client

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


More information about the Python-bugs-list mailing list