Ralf Schmitt added the comment:

Thanks for looking at this. loewis told me in  
http://bugs.python.org/issue7735#msg172726 the following:

"""The switch --disable-ipv6 is supported and works as intended. It is not the 
intention of the switch to disable AAAA lookups. Instead, it disables support 
for IPv6 sockets."""

So, I expected it to work.

Can you please take a look at the issue 7735? loewis closed this as wontfix. 
And my argumentation actually involves "don't ask for IPv6 addresses if you 
disabled IPv6 support".

Anyway, I still think those bogus addresses should be filtered from the 
getaddrinfo result (if they can't be made correct).

Note that you'll also get bogus results from this call when not explicitly 
asking for IPv6 addresses (e.g. passing socket.AF_UNSPEC as the third argument).

----------

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

Reply via email to