Author vstinner
Recipients dellair.jie, loewis, r.david.murray, rpetrov, vstinner
Date 2014-04-01.12:28:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396355285.24.0.125500700686.issue21085@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2014-04-01 12:28:05vstinnersetrecipients: + vstinner, loewis, rpetrov, r.david.murray, dellair.jie
2014-04-01 12:28:05vstinnersetmessageid: <1396355285.24.0.125500700686.issue21085@psf.upfronthosting.co.za>
2014-04-01 12:28:05vstinnerlinkissue21085 messages
2014-04-01 12:28:04vstinnercreate