Antoine Pitrou <[email protected]> added the comment:
r83416 broke the 3.1 buildbots.
======================================================================
ERROR: test_userpass_inurl (test.test_urllib.urlopen_HttpTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/srv/buildbot/buildarea/3.1.bolen-ubuntu/build/Lib/test/test_urllib.py", line
197, in test_userpass_inurl
fp = urlopen("http://user:[email protected]/")
File
"/srv/buildbot/buildarea/3.1.bolen-ubuntu/build/Lib/test/test_urllib.py", line
33, in urlopen
return opener.open(url)
File "/srv/buildbot/buildarea/3.1.bolen-ubuntu/build/Lib/urllib/request.py",
line 1468, in open
return getattr(self, name)(url)
File "/srv/buildbot/buildarea/3.1.bolen-ubuntu/build/Lib/urllib/request.py",
line 1642, in open_http
return self._open_generic_http(http.client.HTTPConnection, url, data)
File "/srv/buildbot/buildarea/3.1.bolen-ubuntu/build/Lib/urllib/request.py",
line 1612, in _open_generic_http
headers["Authorization"] = "Basic %s" % auth
BytesWarning: str() on a bytes instance
----------
nosy: +pitrou
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8123>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com