[New-bugs-announce] [issue29639] test suite intentionally avoids referring to localhost, destroying abstraction away from IPv6 vs IPv4

Gregory P. Smith report at bugs.python.org
Thu Feb 23 20:34:57 EST 2017


New submission from Gregory P. Smith:

I am working on fixing our test suite to run on IPv6 only hosts (which are becoming a reality).  Many failures today occur because of hard coded 127.0.0.1 values.

This is wrong.  We should refer to "localhost"

The "solution" to https://bugs.python.org/issue18792 moved us backwards towards hard coding IP version type specific addresses claiming that windows cannot handle resolving localhost reliably.

On any windows system where that is the case we should declare the system broken and simply not run any networking related tests.

----------
components: Tests
messages: 288498
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title: test suite intentionally avoids referring to localhost, destroying abstraction away from IPv6 vs IPv4
versions: Python 2.7, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29639>
_______________________________________


More information about the New-bugs-announce mailing list