STINNER Victor <vstin...@redhat.com> added the comment:
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) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34130> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com