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 <rep...@bugs.python.org>
<http://bugs.python.org/issue29639>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to