Author vstinner
Recipients vstinner
Date 2018-11-29.09:32:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543483922.25.0.788709270274.issue35347@psf.upfronthosting.co.za>
In-reply-to
Content
Failure seen on the Windows XP buildbot:

https://buildbot.python.org/all/#/builders/45/builds/288

0:02:14 [ 35/404/1] test_socket failed
test test_socket failed -- Traceback (most recent call last):
  File "d:\cygwin\home\db3l\buildarea\2.7.bolen-windows\build\lib\test\test_socket.py", line 1020, in testRecv
    self.fail("Error trying to do non-blocking recv.")
AssertionError: Error trying to do non-blocking recv.

In fact, the master branch still uses the weak 100 ms sleep as synchronization primitive :-(

Attached PR replaces time.sleep() with a threading.Event().
History
Date User Action Args
2018-11-29 09:32:02vstinnersetrecipients: + vstinner
2018-11-29 09:32:02vstinnersetmessageid: <1543483922.25.0.788709270274.issue35347@psf.upfronthosting.co.za>
2018-11-29 09:32:02vstinnerlinkissue35347 messages
2018-11-29 09:32:01vstinnercreate