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.

作者 pitrou
收信人 gregory.p.smith, hobb0001, jyasskin, pitrou, rnk
日期 2010-05-29.11:44:41
SpamBayes Score 0.0032538644
Marked as misclassified
Message-id <1275133478.3124.48.camel@localhost.localdomain>
In-reply-to <1275101969.79.0.264603516238.issue8844@psf.upfronthosting.co.za>
内容
> I'm imagining (for POSIX platforms) adding some kind of check for
> signals when the system call returns EINTR.  If the signal handler
> raises an exception, like an interrupt should raise a
> KeyboardInterrupt, we can just give a different return code and
> propagate the exception.

Yes, this is what I'm proposing too.

> It also seems like this behavior can be extended gradually to
> different platforms, since I don't have the resources to change and
> test every threading implementation.

There is only one active POSIX threading implementation in 3.2, in
Python/thread_pthread.h.
(and the only non-POSIX one is for Windows)
历史
日期 用户 动作 参数
2010-05-29 11:44:45pitrou修改recipients: + pitrou, gregory.p.smith, jyasskin, rnk, hobb0001
2010-05-29 11:44:42pitrou链接issue8844 messages
2010-05-29 11:44:41pitrou创建