[Python-Dev] test_timeout fails on Win98SE

Guido van Rossum guido@python.org
Wed, 19 Feb 2003 13:06:12 -0500


> Looks like Guido knows the answer:
>     http://mail.python.org/pipermail/zodb-checkins/2002-September/002669.html

But somehow that doesn't work either.

I recall a MS page about this that recommended not trying a second
connect() but calling select() to determine whether the socket is
writable (== connected).  I've now implemented that (in the Windows
version of the code only).  The test_timeout.py now works for me on
Win98 (most of the time) and on Win2k (all the time except the one
time when ZoneAlarm interfered :-).

I consider this closed now.

--Guido van Rossum (home page: http://www.python.org/~guido/)