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 Joshua.Chin
Recipients Joshua.Chin, docs@python, orsenthil
Date 2014-11-04.17:04:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415120697.65.0.296811511924.issue22797@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for urlopen states that it "Raises URLError on errors." However, urlopen can raise a ValueError. In fact, test_urllib. urlopen_FileTests.test_relativelocalfile  specifically checks if urlopen raises a ValueError. I suggest removing the guarantee from the documentation.
History
Date User Action Args
2014-11-04 17:04:57Joshua.Chinsetrecipients: + Joshua.Chin, orsenthil, docs@python
2014-11-04 17:04:57Joshua.Chinsetmessageid: <1415120697.65.0.296811511924.issue22797@psf.upfronthosting.co.za>
2014-11-04 17:04:57Joshua.Chinlinkissue22797 messages
2014-11-04 17:04:57Joshua.Chincreate