[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2010-05-07 Thread Ralf Schmitt
Changes by Ralf Schmitt : -- nosy: +schmir ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2010-05-07 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Ralf Schmitt
Ralf Schmitt added the comment: they are noticeable! If the sock.connect fails with the IPv4 address, it will then try to connect to an IPv6 address (which fails with an TypeError then). The original error is hidden! -- ___ Python tracker

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would suggest closing as won't fix. The way I understand it, --disable-ipv6 simply allows building on systems without IPv6 support. It's not meant to disable IPv6 requests on an IPv6-compliant system. If your IPv6 connectivity doesn't work properly, you shou

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Ralf Schmitt
Ralf Schmitt added the comment: The fact is I have disabled IPv6 with python's --disable-ipv6 switch. If you think that this switch shouldn't be supported anymore, either remove it or document it as obsolete. Telling me to disable IPv6 in my system configuration is just arrogant. I may not b

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Telling me to disable IPv6 in my system configuration is just > arrogant. No, it's perfectly reasonable. On the other hand, recompiling Python without IPv6 to workaround a system-level problem with IPv6 is totally silly. Do you recompile all other programs whi

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Ralf Schmitt
Ralf Schmitt added the comment: Why do you think I'm disabling IPv6 because I have a "system level problem"? I am not recompiling python to workaround system level problems. And I don't recompile any other program. The problem is in python, it can be fixed with a one line patch. but you prefer

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Why do you think I'm disabling IPv6 because I have a "system level > problem"? So please explain the problem you're having. -- ___ Python tracker

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Ralf Schmitt
Ralf Schmitt added the comment: The OPs description is pretty clear. There's no good reason to ask for IPv6 addresses if IPv6 is disabled. The create_connection will try them all, and if connections to IPv4 addresses fail, you'll end up with a TypeError. -- ___

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-12 Thread Ralf Schmitt
Ralf Schmitt added the comment: It's not quite true what I wrote. Actually you get a "error: getsockaddrarg: bad family" error. But regardless of the error, there just is no need to ask for IPv6 addresses! -- ___ Python tracker

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: The switch --disable-ipv6 is supported and works as intended. It is not the intention of the switch to disable lookups. Instead, it disables support for IPv6 sockets. Requesting that the switch disables any code that somehow deals with IPv6 is unreasona

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-12 Thread Ralf Schmitt
Ralf Schmitt added the comment: The switch disables support for IPv6 sockets, and since IPv6 support is disabled, there is no need to try to lookup IPv6 addresses in create_connection. They just cannot be used afterwards. I didn't request that the switch disables any code that somehow deals wi

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-12 Thread Ralf Schmitt
Ralf Schmitt added the comment: btw lookups do not work if python is configured with --disable-ipv6, see http://bugs.python.org/issue16208 -- ___ Python tracker ___

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-12-30 Thread STINNER Victor
STINNER Victor added the comment: I spoke with schmir on IRC about this issue because he considers the request as valid, and he doesn't understand why the issue was closed with "wont fix". -- schmir use case: - a network where IPv6 doesn't work (for an unknown reason) - a Linux system with

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2010-01-18 Thread Evan Teran
New submission from Evan Teran : I have encountered an issue where python will do a request even when built without IPv6. This becomes an issue because on some configurations this seems to cause a 5 second delay on DNS lookups (that is a separate issue of course). Basically here is what I

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2010-01-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: Can you propose a patch? I personally consider this not worth the effort. Unless there is a DNS problem, this cases shouldn't really be noticable, as the socket module will immediately report that IPv6 is not supported (without even consulting the operating

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2010-01-18 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Library (Lib) -None priority: -> normal stage: -> test needed type: -> behavior versions: -Python 2.5 ___ Python tracker ___