STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> With a bit of searching, HOST == support.HOST == 'localhost'.
> Looking at the traceback, it is socket that fails, not telnetlib
> or its test.

I only saw the failure on test_telnetlib, not in other tests using sockets. I 
think that this issue is specific to test_telnetlib (even not telnetlib). It is 
maybe a race condition: the code to wait until the server is active is maybe 
not correct. GeneralTests.setUp() waits until the server has called 
serv.listen(5). I don't know if the server must be waiting in serv.accept() on 
Windows (using Cygwin?). Last instruction of GeneralTests.setUp() is a 
time.sleep(.1): ugly synchronization hack to workaround a race conditon??

----------

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

Reply via email to