Martin Panter added the comment: Steve and/or Raniere: I suspect this is the same problem as mentioned in the giant comment, Issue 17564. In other words, it is probably your ISP or DNS which is broken, not Python.
However, rather than expecting everyone to automatically read the giant wall of comment in the source code, perhaps we could improve the failure message: with self.assertRaises(OSError, msg="Perhaps your ISP hijacked the DNS request; " "see the source code comments"): # Giant comment urllib.request.urlopen(...) Then the failure would look like this: AssertionError: OSError not raised : Perhaps your ISP hijacked the DNS request; see the source code comments ---------- nosy: +martin.panter _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23788> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com