[issue6382] test_socketserver fails on trunk in test_ForkingTCPServer

R. David Murray report at bugs.python.org
Mon Jul 6 18:17:07 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

I now get a different error, followed by zsh detecting an alarm:

rdmurray at partner:~/python/trunk>./python -m test.regrtest -uall
test_socketserver
Could not find '/home/rdmurray/python/trunk/Lib/test' in sys.path to
remove it
test_socketserver
Exception in thread SocketServer.ForkingUDPServer serving:
Traceback (most recent call last):
  File "/home/rdmurray/python/trunk/Lib/threading.py", line 524, in
__bootstrap_inner
    self.run()
  File "/home/rdmurray/python/trunk/Lib/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/rdmurray/python/trunk/Lib/SocketServer.py", line 226, in
serve_forever
    self._handle_request_noblock()
  File "/home/rdmurray/python/trunk/Lib/SocketServer.py", line 283, in
_handle_request_noblock
    self.handle_error(request, client_address)
  File "/home/rdmurray/python/trunk/Lib/SocketServer.py", line 281, in
_handle_request_noblock
    self.process_request(request, client_address)
  File "/home/rdmurray/python/trunk/Lib/SocketServer.py", line 535, in
process_request
    request.close() #close socket handle in parent process
AttributeError: 'tuple' object has no attribute 'close'

zsh: alarm      ./python -m test.regrtest -uall test_socketserver

----------

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


More information about the Python-bugs-list mailing list