Author ncoghlan
Recipients ncoghlan, petr.viktorin, vstinner, xtreak, yan12125
Date 2018-09-13.14:34:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536849244.89.0.956365154283.issue34587@psf.upfronthosting.co.za>
In-reply-to
Content
Same problem here. However, checking the test code, it seems that what's happening is that even though the sending socket has been put into non-blocking mode, self.cli.sendto in the _testCongestion helper method invoked by the ThreadableTest base class [1] has *not* thrown OSError, and hence the finally clause setting the event has *not* been triggered, and hence the test is hanging.

Neither socket.py nor test_socket.py have changed recently though, so it seems to me that this is either a recent Fedora bug (where the socket is blocking when it shouldn't), or else a Fedora change that has uncovered a latent defect in the socket module code.

[1] https://github.com/python/cpython/blob/master/Lib/test/test_socket.py#L228
History
Date User Action Args
2018-09-13 14:34:04ncoghlansetrecipients: + ncoghlan, vstinner, petr.viktorin, yan12125, xtreak
2018-09-13 14:34:04ncoghlansetmessageid: <1536849244.89.0.956365154283.issue34587@psf.upfronthosting.co.za>
2018-09-13 14:34:04ncoghlanlinkissue34587 messages
2018-09-13 14:34:04ncoghlancreate