This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients njs, pitrou, vstinner, yselivanov
Date 2018-07-18.14:26:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531924019.03.0.56676864532.issue34130@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2018-07-18 14:26:59vstinnersetrecipients: + vstinner, pitrou, njs, yselivanov
2018-07-18 14:26:59vstinnersetmessageid: <1531924019.03.0.56676864532.issue34130@psf.upfronthosting.co.za>
2018-07-18 14:26:59vstinnerlinkissue34130 messages
2018-07-18 14:26:58vstinnercreate