[issue8598] test/support: don't use localhost as IPv6 host name

2010-05-27 Thread STINNER Victor
STINNER Victor added the comment: I consider that the bug is in my /etc/hosts configuration, not in Python. So I close the issue as "invalid". -- resolution: -> invalid status: open -> closed ___ Python tracker _

[issue8598] test/support: don't use localhost as IPv6 host name

2010-05-06 Thread STINNER Victor
STINNER Victor added the comment: > It has long been true that there are test failures > if the testing system cannot resolve its own hostname, > ... I'm not sure that "localhost" must be resolved to ::1. I'm only sure for IPv4: localhost be must resolved to 127.0.0.1 in IPv4. -- __

[issue8598] test/support: don't use localhost as IPv6 host name

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

[issue8598] test/support: don't use localhost as IPv6 host name

2010-05-02 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot to copy/paste a test_ftplib failure: == ERROR: test_makeport (test.test_ftplib.TestIPv6Environment) -- Traceback

[issue8598] test/support: don't use localhost as IPv6 host name

2010-05-02 Thread R. David Murray
R. David Murray added the comment: All of my Gentoo systems except one have localhost on the ::1 line. The one that doesn't hasn't been updated in several years. That one has the same entry for ::1 as your Ubuntu. The FreeBSD 6.3 box I have access to has localhost on the ::1 line. It has l

[issue8598] test/support: don't use localhost as IPv6 host name

2010-05-02 Thread STINNER Victor
STINNER Victor added the comment: Debian Sid has "::1 ip6-localhost ip6-loopback localhost". -- ___ Python tracker ___ ___ Python-bugs

[issue8598] test/support: don't use localhost as IPv6 host name

2010-05-02 Thread STINNER Victor
STINNER Victor added the comment: Mac OS X 10.6.3 has "::1 localhost". My Ubuntu 9.10 has "::1 ip6-localhost ip6-loopback" but I don't rember if I edited this line or not. I don't think so. -- ___ Python tracker

[issue8598] test/support: don't use localhost as IPv6 host name

2010-05-02 Thread STINNER Victor
STINNER Victor added the comment: Attached patch uses IPV6_HOST='::1'. -- keywords: +patch Added file: http://bugs.python.org/file17183/support_ipv6_host.patch ___ Python tracker ___

[issue8598] test/support: don't use localhost as IPv6 host name

2010-05-02 Thread STINNER Victor
New submission from STINNER Victor : TestIPv6Environment testcase of test_ftplib uses support.HOST as hostname, and HOST=localhost. Usually, localhost is the name of 127.0.0.1, but not always ::1. On Linux, the usual names for ::1 are ip6-localhost or ip6-loopback. My internet server provider