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 schmir
Recipients schmir, vstinner
Date 2012-10-12.21:58:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350079083.04.0.782517137087.issue16208@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-10-12 21:58:03schmirsetrecipients: + schmir, vstinner
2012-10-12 21:58:03schmirsetmessageid: <1350079083.04.0.782517137087.issue16208@psf.upfronthosting.co.za>
2012-10-12 21:58:03schmirlinkissue16208 messages
2012-10-12 21:58:02schmircreate