➜

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.

作者 jpe
收信人 jpe, steve.dower, tim.golden, vstinner, zach.ware
日期 2015-04-14.01:28:42
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1428974924.14.0.409204034309.issue23719@psf.upfronthosting.co.za>
In-reply-to
内容
Here's the 1st draft of a test for interrupts during time.sleep().  It creates a thread to generate the ctrl-c events which seems to work well (note that kill() on win32 is quite limited in terms of sending events to other processes).  The creation and use of the subthread probably could be improved.  I also needed to add a way of specifying creationflags for a subprocess so a new console could be created; otherwise the parent test process is also interrupted by the ctrl-c.

I have not tested the modified test on a non-win32 platform
历史
日期 用户 动作 参数
2015-04-14 01:28:44jpe修改recipients: + jpe, vstinner, tim.golden, zach.ware, steve.dower
2015-04-14 01:28:44jpe修改messageid: <1428974924.14.0.409204034309.issue23719@psf.upfronthosting.co.za>
2015-04-14 01:28:44jpe链接issue23719 messages
2015-04-14 01:28:43jpe创建