R. David Murray <rdmur...@bitdance.com> added the comment:

Ah, and I was even the one that suggested the bind to 127.0.0.1 strategy for 
the test :(

My buildbots run in linux-vserver virtual hosts, and they way they handle 
localhost (127.0.0.1) is to alias it to the IP address assigned to the virthost 
(otherwise multiple virthosts opening ports on 127.0.0.1 would potentially 
conflict with each other).

I'd consider this a bug in the virthost software (lack of feature?).  Not sure 
what the best workaround is, but if all else fails we could put in some special 
case skip code.

Would be good enough to have the test check that the returned IP address is 
*not* 0.0.0.0?  Or perhaps issue a warning if the address is not 0.0.0.0 but 
isn't 127.0.0.1.

----------

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

Reply via email to