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 martin.panter
Recipients martin.panter, python-dev, vstinner
Date 2016-05-31.00:10:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks, that is a very good point about threads. I remember that testing tkinter leaves an internal TK or TCL thread running in the background. And I understand Free BSD delivers process signals to arbitrary threads (not necessarily the main thread).

But the FreeBSD 3.5 buildbot looks like it ran test_io in a separate process (-j4 specified). Anyway it is another possible explanation of the hang (signal delivered to wrong thread, so write() call not interrupted).

Perhaps it is better to use signal.pthread_kill() instead of os.kill() in my proposal.
Date User Action Args
2016-05-31 00:10:04martin.pantersetrecipients: + martin.panter, vstinner, python-dev
2016-05-31 00:10:04martin.pantersetmessageid: <>
2016-05-31 00:10:04martin.panterlinkissue22331 messages
2016-05-31 00:10:03martin.pantercreate