STINNER Victor victor.stin...@haypocalc.com 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
STINNER Victor victor.stin...@haypocalc.com 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
New submission from STINNER Victor victor.stin...@haypocalc.com:
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.
STINNER Victor victor.stin...@haypocalc.com added the comment:
Attached patch uses IPV6_HOST='::1'.
--
keywords: +patch
Added file: http://bugs.python.org/file17183/support_ipv6_host.patch
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com 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
STINNER Victor victor.stin...@haypocalc.com added the comment:
Debian Sid has ::1 ip6-localhost ip6-loopback localhost.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8598
___
R. David Murray rdmur...@bitdance.com 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
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, I forgot to copy/paste a test_ftplib failure:
==
ERROR: test_makeport (test.test_ftplib.TestIPv6Environment)
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8598
___
___