[Python-Dev] test_multiprocessing: test_listener_client flakiness

Trent Nelson tnelson at onresolve.com
Thu Jun 19 08:02:46 CEST 2008


> I just found the cause of the problem ten minutes ago:
> It seems that when a socket listens on the address "127.0.0.1" or
> "localhost", another process cannot connect to it using the machine's
> name (even from the same machine).
> The best seems to listen with the empty address "".

That doesn't seem right.  If that were the case, none of the hundreds of network-oriented tests would work either.  These all bind against ('localhost', 0) by default which seems to Do The Right Thing on all the platforms we have buildbots for.

        Trent.



More information about the Python-Dev mailing list