[Python-Dev] test_multiprocessing:test_listener_client flakiness

Amaury Forgeot d'Arc amauryfa at gmail.com
Wed Jun 18 23:36:22 CEST 2008


2008/6/18 Jesse Noller <jnoller at gmail.com>:
> On Wed, Jun 18, 2008 at 2:09 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
>> Jesse Noller <jnoller <at> gmail.com> writes:
>>>
>>> The server component *is* listening to localhost by default. The
>>> client in the code I pasted has the server's .address attribute passed
>>> into it to tell the client where to connect to.
>>
>> So I take it that the .address attribute is different from "localhost",
>> but why? Is there any point in trying to be clever here?
>
> No, it is *not* different than localhost - it *is* localhost as that
> is the object.address of the server.

Well, on my win2k machine getfqdn('127.0.0.1') returns the actual name
of the machine.
This is the name that was stored in server.address.
Hence my patch that simply remove the call to getfqdn.

-- 
Amaury Forgeot d'Arc


More information about the Python-Dev mailing list