Martin Panter added the comment: Patch 3 looks better IMO. Now instead of the TypeError, we should see an error something like
socket.error: Tunnel connection failed: 200 I’ll commit this in a day or so, perhaps with an improved error message, like “Invalid response from tunnel request”. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17849> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com