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. My 
internet server provider DNS resolver does not always resolv "localhost" as 
::1, sometimes it answer 3(NXDOMAIN). Anyway, the name should be resolved by 
the local DNS resolver, not depend on an external (ISP) DNS server.

The simplest solution is to use "::1" instead of localhost ;-)

----------
components: Tests
messages: 104778
nosy: haypo
priority: normal
severity: normal
status: open
title: test/support: don't use localhost as IPv6 host name
versions: Python 2.7, Python 3.2

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

Reply via email to