[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1
Максим Лукоянов
report at bugs.python.org
Sun Dec 4 09:12:03 EST 2016
Максим Лукоянов added the comment:
>>> import sys
>>> print sys.version
2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)]
>>> from urllib2 import urlopen
>>> urlopen('http://www.google.co.uk')
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
urlopen('http://www.google.co.uk')
File "C:\Python27x64\lib\urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "C:\Python27x64\lib\urllib2.py", line 435, in open
response = meth(req, response)
File "C:\Python27x64\lib\urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python27x64\lib\urllib2.py", line 467, in error
result = self._call_chain(*args)
File "C:\Python27x64\lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Python27x64\lib\urllib2.py", line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "C:\Python27x64\lib\urllib2.py", line 435, in open
response = meth(req, response)
File "C:\Python27x64\lib\urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python27x64\lib\urllib2.py", line 473, in error
return self._call_chain(*args)
File "C:\Python27x64\lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Python27x64\lib\urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable
>>> urlopen('https://www.google.co.uk')
=============================== RESTART: Shell ===============================
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27305>
_______________________________________
More information about the Python-bugs-list
mailing list