This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mcjeff
Recipients BreamoreBoy, ankitoshniwal, dfranke, loewis, mcjeff
Date 2012-10-28.01:32:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Gave this a go myself...

$ ./python
Python 3.4.0a0 (default:57a33af85407, Oct 27 2012, 21:26:30) 
[GCC 4.4.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.getfqdn()

$ hostname -f

$ cat /etc/hosts       localhost.localdomain   localhost

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Linux host 3.5.2-x86_64 #1 SMP Wed Aug 15 14:31:07 EDT 2012 x86_64 GNU/Linux

According to strace, both rely on DNS:

recvfrom(3, "Wj\201\200\0\1\0\1\0\5\0\0\00219\003134\003230\003173\7in-a"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("")}, [16]) = 176

Same behavior on both 2.6 & hg tip.  I think this is a non-issue.
Date User Action Args
2012-10-28 01:32:48mcjeffsetrecipients: + mcjeff, loewis, dfranke, BreamoreBoy, ankitoshniwal
2012-10-28 01:32:48mcjeffsetmessageid: <>
2012-10-28 01:32:48mcjefflinkissue5004 messages
2012-10-28 01:32:47mcjeffcreate