➜

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.

作者 vstinner
收信人 dellair.jie, loewis, r.david.murray, rpetrov, vstinner
日期 2014-04-01.12:28:04
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1396355285.24.0.125500700686.issue21085@psf.upfronthosting.co.za>
In-reply-to
内容
> Would you please be more specific on test_signal?

Please try to compile Python 3.4 with the attached cygwin_si_band.patch applied, and then run test_signal. I would like to know if all tests pass, and if not, which tests are failing. I also would like to know if test_sigwaitinfo() runs on Cygwin. I'm not sure that signal.alarm(1) is available on Windows, whereas test_sigwaitinfo() uses this function.

Or you can test manually sigwaitinfo(). Example on Windows using SIGINT and CTRL+c to send a signal:

>>> import signal
>>> info = signal.sigwaitinfo({signal.SIGINT})
^C
>>> info
signal.struct_siginfo(si_signo=2, si_code=128, si_errno=0, si_pid=0, si_uid=0, si_status=3, si_band=0)

I don't know how to test sigwaitinfo() on Windows.
历史
日期 用户 动作 参数
2014-04-01 12:28:05vstinner修改recipients: + vstinner, loewis, rpetrov, r.david.murray, dellair.jie
2014-04-01 12:28:05vstinner修改messageid: <1396355285.24.0.125500700686.issue21085@psf.upfronthosting.co.za>
2014-04-01 12:28:05vstinner链接issue21085 messages
2014-04-01 12:28:04vstinner创建