Message256051
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 |
|
Date |
User |
Action |
Args |
2015-12-07 06:25:16 | martin.panter | set | recipients:
+ martin.panter, vstinner, r.david.murray, raniere, Steve Harris |
2015-12-07 06:25:16 | martin.panter | set | messageid: <1449469516.15.0.823268411805.issue23788@psf.upfronthosting.co.za> |
2015-12-07 06:25:16 | martin.panter | link | issue23788 messages |
2015-12-07 06:25:15 | martin.panter | create | |
|