Message172959
| 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:50 | techtonik | set | recipients:
+ techtonik, orsenthil, Alexandru.Moșoi |
| 2012年10月15日 11:02:50 | techtonik | set | messageid: <1350298970.31.0.0812067598645.issue10836@psf.upfronthosting.co.za> |
| 2012年10月15日 11:02:50 | techtonik | link | issue10836 messages |
| 2012年10月15日 11:02:49 | techtonik | create |
|