Steve Harris added the comment: I experienced the same problem on my system:
OS: Xubuntu/Linux 12.04 $ uname -a Linux ives 3.2.0-94-generic #134-Ubuntu SMP Fri Nov 6 18:17:08 UTC 2015 i686 i686 i386 GNU/Linux $ gcc --version gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 ================================================= In response to your last request, here's what I get: $ ./python Python 3.5.0 (default, Nov 19 2015, 17:12:32) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.create_connection(("sadflkjsasf.i.nvali.d.", 80)) <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.1.8', 54128), raddr=('92.242.140.21', 80)> >>> ================================================= And: $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.0.1 search domain.actdsltmp ================================================= My ISP is Verizon. Hope this is help ---------- nosy: +Steve Harris _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23788> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com