Antoine Pitrou <pit...@free.fr> added the comment:

In setipaddr() in socketmodule.c, the following line appears to change the 
current locale when DNS lookup fails:

    error = getaddrinfo(name, NULL, &hints, &res);

This is checked by making a call to setlocale(LC_TIME, NULL) before and after 
the aforementioned line.

This is with the following libc:
$ rpm -qv glibc
glibc-2.11.1-8mnb2

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8963>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to