➜

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.

作者 gregory.p.smith
收信人 gregory.p.smith, gvanrossum, pitrou, sbt, vstinner
日期 2013-08-31.18:09:30
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1377972571.08.0.0737120008005.issue18885@psf.upfronthosting.co.za>
In-reply-to
内容
I wrote too many words.  In short:

time.sleep()'s behavior should remain as it is today given how it is documented to behave.  If you disagree, consider adding an optional interruptable=False parameter so that both behavior options exist.

ALL IO calls and wait* should handle EINTR transparently for the user and never expose it to the Python application.

select(), poll() and equivalents.  If you want to transparently handle EINTR on these, just make sure you deal with the timeouts properly.  While I suspect a few people wanted to see the signal interruption on those I agree: very uncommon and undesirable for most.

If people need a specific signal interruption they should define a signal handler that raises.
历史
日期 用户 动作 参数
2013-08-31 18:09:31gregory.p.smith修改recipients: + gregory.p.smith, gvanrossum, pitrou, vstinner, sbt
2013-08-31 18:09:31gregory.p.smith修改messageid: <1377972571.08.0.0737120008005.issue18885@psf.upfronthosting.co.za>
2013-08-31 18:09:31gregory.p.smith链接issue18885 messages
2013-08-31 18:09:30gregory.p.smith创建