Message321884
I wrote a simple fix for test_signal.test_socket(): PR 8326.
Just configure the read end of the socket pair as blocking, so read.recv(1) blocks until we get the signal handler.
This fix is simple and should be more portable than my previous attempt of workaround:
write.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 0) |
|
Date |
User |
Action |
Args |
2018-07-18 14:26:59 | vstinner | set | recipients:
+ vstinner, pitrou, njs, yselivanov |
2018-07-18 14:26:59 | vstinner | set | messageid: <1531924019.03.0.56676864532.issue34130@psf.upfronthosting.co.za> |
2018-07-18 14:26:59 | vstinner | link | issue34130 messages |
2018-07-18 14:26:58 | vstinner | create | |
|