You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_logging hangs when run on an IPv6-only host. (127.0.0.1 isn't even available)
test_listen_config_10_ok (test.test_logging.ConfigDictTest) ... Exception in thread Thread-3:
Traceback (most recent call last):
File "/home/greg/oss/cpython/Lib/threading.py", line 938, in _bootstrap_innerself.run()
File "/home/greg/oss/cpython/Lib/logging/config.py", line 918, in run
server =self.rcvr(port=self.port, handler=self.hdlr,
File "/home/greg/oss/cpython/Lib/logging/config.py", line 885, in __init__
ThreadingTCPServer.__init__(self, (host, port), handler)
File "/home/greg/oss/cpython/Lib/socketserver.py", line 452, in __init__self.server_bind()
File "/home/greg/oss/cpython/Lib/socketserver.py", line 466, in server_bindself.socket.bind(self.server_address)
OSError: [Errno 99] Cannot assign requested address
Activity
gpshead commentedon Aug 20, 2019
test_logging hangs when run on an IPv6-only host. (127.0.0.1 isn't even available)
possibly more, but it's hung here.
I'm preparing an IPv6-only buildbot.
serhiy-storchaka commentedon Jul 22, 2026
Should be fixed by #154491.
pythongh-73458: Fix logging.config.listen() on a host without an IPv4…
[3.13] gh-73458: Fix logging.config.listen() on a host without an IPv…
[3.14] gh-73458: Fix logging.config.listen() on a host without an IPv…
[3.15] gh-73458: Fix logging.config.listen() on a host without an IPv…
pythongh-73458: Fix logging.config.listen() on a host without an IPv4…