Author jmoy
Recipients jmoy, orsenthil
Date 2012-01-08.06:22:18
SpamBayes Score 1.92909e-08
Marked as misclassified No
Message-id <>
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:20jmoysetrecipients: + jmoy, orsenthil
2012-01-08 06:22:20jmoysetmessageid: <>
2012-01-08 06:22:19jmoylinkissue13736 messages
2012-01-08 06:22:19jmoycreate