[New-bugs-announce] [issue7148] socket.py: r75412 broke build

Kurt B. Kaiser report at bugs.python.org
Fri Oct 16 03:24:21 CEST 2009


New submission from Kurt B. Kaiser <kbk at shore.net>:

buildbots failing since r75412:

testSocketServer (test.test_ssl.ThreadedTests) ... Traceback (most 
recent call last):
  File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/
SocketServer.py", line 282, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/
SocketServer.py", line 308, in process_request
    self.finish_request(request, client_address)
  File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/
SocketServer.py", line 321, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/
SocketServer.py", line 639, in __init__
    self.finish()
  File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/
SocketServer.py", line 692, in finish
    self.wfile.flush()
  File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/
socket.py", line 300, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
  File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/
ssl.py", line 203, in sendall
    v = self.send(data[count:])
  File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/
ssl.py", line 94, in <lambda>
    self.send = lambda data, flags=0: SSLSocket.send(self, data, flags)
  File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/
ssl.py", line 174, in send
    v = self._sslobj.write(data)
TypeError: must be string or read-only buffer, not memoryview

----------
assignee: pitrou
components: Library (Lib)
messages: 94118
nosy: kbk, pitrou
priority: high
severity: normal
status: open
title: socket.py: r75412 broke build
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7148>
_______________________________________


More information about the New-bugs-announce mailing list