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 <rep...@bugs.python.org> <http://bugs.python.org/issue8823> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com