This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients Alexandru.Moșoi, chris.jerdonek, ezio.melotti, ncoghlan, orsenthil, techtonik, terry.reedy, vstinner
Date 2012-10-21.07:19:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350803950.67.0.0593833759944.issue10836@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the patch which captures both HTTPError and URLError at the open_file and thus preventing multiple exceptions to be raised ( URLError and next IOError). This can go in 3.4 and since this is bug, where correct exception is not being caught and wrong args are sent, I think the catching of correct exception can be backported to old versions
History
Date User Action Args
2012-10-21 07:19:10orsenthilsetrecipients: + orsenthil, terry.reedy, ncoghlan, vstinner, techtonik, ezio.melotti, chris.jerdonek, Alexandru.Moșoi
2012-10-21 07:19:10orsenthilsetmessageid: <1350803950.67.0.0593833759944.issue10836@psf.upfronthosting.co.za>
2012-10-21 07:19:10orsenthillinkissue10836 messages
2012-10-21 07:19:10orsenthilcreate