Ariel Glenn added the comment:
Yes, I had checked that just in case; getaddrinfo(3) works for the all-digit
hostname, returning no error. I'm using these hints:
memset(hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_PASSIVE;
hints.ai_protocol = 0;
hints.ai_canonname = NULL;
hints.ai_addr = NULL;
hints.ai_next = NULL;
Tested on glibc-2.18.
--
nosy: +ariel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20418
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com