Message150849
The documentation for urlopen says that it raises URLError on error.
But there exist error conditions such as a socket timeout or a bad HTTP status line under which the exception from the underlying library leaks through urllib, thus breaking the promise in the documentation.
I am attaching a test program that demonstrates this bug. |
|
Date |
User |
Action |
Args |
2012-01-08 06:22:20 | jmoy | set | recipients:
+ jmoy, orsenthil |
2012-01-08 06:22:20 | jmoy | set | messageid: <1326003740.31.0.0410778534365.issue13736@psf.upfronthosting.co.za> |
2012-01-08 06:22:19 | jmoy | link | issue13736 messages |
2012-01-08 06:22:19 | jmoy | create | |
|