[New-bugs-announce] [issue8588] test_urllib2.py test failures on Py3K Mac OS X
Michael Foord
report at bugs.python.org
Sat May 1 12:56:49 CEST 2010
New submission from Michael Foord <michael at voidspace.org.uk>:
Failures on py3k, Mac OS X 10.6.3.
======================================================================
ERROR: test_proxy_https (__main__.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_urllib2.py", line 1010, in test_proxy_https
r = o.open(req)
File "/compile/python-trunk3/Lib/urllib/request.py", line 349, in open
response = self._open(req, data)
File "/compile/python-trunk3/Lib/urllib/request.py", line 367, in _open
'_open', req)
File "/compile/python-trunk3/Lib/urllib/request.py", line 327, in _call_chain
result = func(*args)
File "/compile/python-trunk3/Lib/urllib/request.py", line 655, in <lambda>
meth(r, proxy, type))
File "/compile/python-trunk3/Lib/urllib/request.py", line 663, in proxy_open
if req.host and proxy_bypass(req.host):
File "/compile/python-trunk3/Lib/urllib/request.py", line 2214, in proxy_bypass
return proxy_bypass_macosx_sysconf(host)
File "/compile/python-trunk3/Lib/urllib/request.py", line 2183, in proxy_bypass_macosx_sysconf
hostIP = ip2num(hostIP)
File "/compile/python-trunk3/Lib/urllib/request.py", line 2161, in ip2num
if len(parts) != 4:
TypeError: object of type 'map' has no len()
======================================================================
ERROR: test_proxy_https_proxy_authorization (__main__.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_urllib2.py", line 1026, in test_proxy_https_proxy_authorization
r = o.open(req)
File "/compile/python-trunk3/Lib/urllib/request.py", line 349, in open
response = self._open(req, data)
File "/compile/python-trunk3/Lib/urllib/request.py", line 367, in _open
'_open', req)
File "/compile/python-trunk3/Lib/urllib/request.py", line 327, in _call_chain
result = func(*args)
File "/compile/python-trunk3/Lib/urllib/request.py", line 655, in <lambda>
meth(r, proxy, type))
File "/compile/python-trunk3/Lib/urllib/request.py", line 663, in proxy_open
if req.host and proxy_bypass(req.host):
File "/compile/python-trunk3/Lib/urllib/request.py", line 2214, in proxy_bypass
return proxy_bypass_macosx_sysconf(host)
File "/compile/python-trunk3/Lib/urllib/request.py", line 2183, in proxy_bypass_macosx_sysconf
hostIP = ip2num(hostIP)
File "/compile/python-trunk3/Lib/urllib/request.py", line 2161, in ip2num
if len(parts) != 4:
TypeError: object of type 'map' has no len()
----------
messages: 104708
nosy: michael.foord
priority: normal
severity: normal
status: open
title: test_urllib2.py test failures on Py3K Mac OS X
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8588>
_______________________________________
More information about the New-bugs-announce
mailing list