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 techtonik
Recipients Alexandru.Moșoi, orsenthil, techtonik
Date 2012-10-15.11:02:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350298970.31.0.0812067598645.issue10836@psf.upfronthosting.co.za>
In-reply-to
Content
Clearly regressing. In Python 2 it was IOError exception:

>>> import urllib
>>> urllib.urlretrieve('missing')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\pp\lib\urllib.py", line 93, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "C:\pp\lib\urllib.py", line 239, in retrieve
    fp = self.open(url, data)
  File "C:\pp\lib\urllib.py", line 207, in open
    return getattr(self, name)(url)
  File "C:\pp\lib\urllib.py", line 462, in open_file
    return self.open_local_file(url)
  File "C:\pp\lib\urllib.py", line 476, in open_local_file
    raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] The system cannot find the file specified: 'missing'
>>>
History
Date User Action Args
2012-10-15 11:02:50techtoniksetrecipients: + techtonik, orsenthil, Alexandru.Moșoi
2012-10-15 11:02:50techtoniksetmessageid: <1350298970.31.0.0812067598645.issue10836@psf.upfronthosting.co.za>
2012-10-15 11:02:50techtoniklinkissue10836 messages
2012-10-15 11:02:49techtonikcreate