Antoine Pitrou <pit...@free.fr> added the comment: > Anyway, we can keep using "localhost", but just delete the socket > timeout in the server.
Please don't. Any problem might then hang the whole test suite. You can bump it up if you want, though. > About using getsockname(), the bind would bind to all IPs of the > machine, including real network interfaces. How so? >>> sock = socket.socket() >>> sock.bind(("localhost", 0)) >>> sock.getsockname() ('127.0.0.1', 60919) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11812> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com