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 pitrou
Recipients kristjan.jonsson, pitrou
Date 2009-02-07.22:47:36
SpamBayes Score 4.4477366e-07
Marked as misclassified No
Message-id <1234046859.35.0.878327501712.issue5181@psf.upfronthosting.co.za>
In-reply-to
Content
This failure happens on all 3.x buildbots:

======================================================================
ERROR: test_empty_socket (test.test_urllib.urlopen_HttpTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_urllib.py",
line 194, in test_empty_socket
    self.assertRaises(IOError, urlopen, "http://something")
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/unittest.py", line
344, in failUnlessRaises
    callableObj(*args, **kwargs)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_urllib.py",
line 33, in urlopen
    return opener.open(url)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/urllib/request.py", line
1444, in open
    return getattr(self, name)(url)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/urllib/request.py", line
1618, in open_http
    return self._open_generic_http(http.client.HTTPConnection, url, data)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/urllib/request.py", line
1601, in _open_generic_http
    response = http_conn.getresponse()
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/http/client.py",
line 937, in getresponse
    method=self._method)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/http/client.py",
line 275, in __init__
    self.fp = sock.makefile("rb")
TypeError: makefile() takes exactly 3 positional arguments (2 given)

======================================================================
ERROR: test_read (test.test_urllib.urlopen_HttpTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_urllib.py",
line 168, in test_read
    fp = urlopen("http://python.org/")
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_urllib.py",
line 33, in urlopen
    return opener.open(url)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/urllib/request.py", line
1444, in open
    return getattr(self, name)(url)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/urllib/request.py", line
1618, in open_http
    return self._open_generic_http(http.client.HTTPConnection, url, data)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/urllib/request.py", line
1601, in _open_generic_http
    response = http_conn.getresponse()
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/http/client.py",
line 937, in getresponse
    method=self._method)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/http/client.py",
line 275, in __init__
    self.fp = sock.makefile("rb")
TypeError: makefile() takes exactly 3 positional arguments (2 given)

======================================================================
ERROR: test_read_bogus (test.test_urllib.urlopen_HttpTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_urllib.py",
line 185, in test_read_bogus
    self.assertRaises(IOError, urlopen, "http://python.org/")
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/unittest.py", line
344, in failUnlessRaises
    callableObj(*args, **kwargs)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_urllib.py",
line 33, in urlopen
    return opener.open(url)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/urllib/request.py", line
1444, in open
    return getattr(self, name)(url)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/urllib/request.py", line
1618, in open_http
    return self._open_generic_http(http.client.HTTPConnection, url, data)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/urllib/request.py", line
1601, in _open_generic_http
    response = http_conn.getresponse()
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/http/client.py",
line 937, in getresponse
    method=self._method)
  File
"/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/http/client.py",
line 275, in __init__
    self.fp = sock.makefile("rb")
TypeError: makefile() takes exactly 3 positional arguments (2 given)
History
Date User Action Args
2009-02-07 22:47:39pitrousetrecipients: + pitrou, kristjan.jonsson
2009-02-07 22:47:39pitrousetmessageid: <1234046859.35.0.878327501712.issue5181@psf.upfronthosting.co.za>
2009-02-07 22:47:37pitroulinkissue5181 messages
2009-02-07 22:47:37pitroucreate