New submission from Gregory P. Smith <g...@krypto.org>:

test_err (test.test_httpservers.RequestHandlerLoggingTestCase) ... Exception in 
thread Thread-1:
Traceback (most recent call last):
  File "/home/greg/oss/cpython/Lib/threading.py", line 938, in _bootstrap_inner
    self.run()
  File "/home/greg/oss/cpython/Lib/test/test_httpservers.py", line 50, in run
    self.server = HTTPServer(('localhost', 0), self.request_handler)
  File "/home/greg/oss/cpython/Lib/socketserver.py", line 452, in __init__
    self.server_bind()
  File "/home/greg/oss/cpython/Lib/http/server.py", line 137, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/home/greg/oss/cpython/Lib/socketserver.py", line 466, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 99] Cannot assign requested address

I'm preparing an IPv6-only buildbot.  There is no IPv4 localhost.

----------
assignee: gregory.p.smith
components: Tests
messages: 350034
nosy: gregory.p.smith
priority: normal
severity: normal
stage: needs patch
status: open
title: test_httpservers hangs on an IPv6-only host
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to