Author jmoy
Recipients eric.araujo, ezio.melotti, jmoy, orsenthil, pitrou
Date 2012-01-20.17:00:57
SpamBayes Score 0.000119645
Marked as misclassified No
Message-id <>
Antoine, could "raise ... from" be used here? Perhaps also using new subclasses of URLError to allow the exceptions to be caught with finer granularity. That way no information would be lost while at the same time not surprising clients who only catch URLError based on the documentation.

At least one exception which I feel must be wrapped is socket.timeout. Since we allow a timeout argument to urlopen, it doesn't make sense for the fact of the timeout to be announced by an exception from another library.
Date User Action Args
2012-01-20 17:00:58jmoysetrecipients: + jmoy, orsenthil, pitrou, ezio.melotti, eric.araujo
2012-01-20 17:00:58jmoysetmessageid: <>
2012-01-20 17:00:58jmoylinkissue13736 messages
2012-01-20 17:00:57jmoycreate