Message325248
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 |
|
Date |
User |
Action |
Args |
2018-09-13 14:34:04 | ncoghlan | set | recipients:
+ ncoghlan, vstinner, petr.viktorin, yan12125, xtreak |
2018-09-13 14:34:04 | ncoghlan | set | messageid: <1536849244.89.0.956365154283.issue34587@psf.upfronthosting.co.za> |
2018-09-13 14:34:04 | ncoghlan | link | issue34587 messages |
2018-09-13 14:34:04 | ncoghlan | create | |
|