Skip to content

gh-149879: Fix test_signal on Cygwin#149896

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:test_signal
May 15, 2026
Merged

gh-149879: Fix test_signal on Cygwin#149896
vstinner merged 1 commit into
python:mainfrom
vstinner:test_signal

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented May 15, 2026

  • Check for SIG_BLOCK instead of pthread_sigmask() to decide if SIG_BLOCK, SIG_UNBLOCK and SIG_SETMASK constants should be converted to enums.
  • Skip ITIMER_VIRTUAL and ITIMER_PROF tests on Cygwin: setitimer() fails with ItimerError(EINVAL).

* Check for SIG_BLOCK instead of pthread_sigmask() to decide if
  SIG_BLOCK, SIG_UNBLOCK and SIG_SETMASK constants should be
  converted to enums.
* Skip ITIMER_VIRTUAL and ITIMER_PROF tests on Cygwin: setitimer()
  fails with ItimerError(EINVAL).
@vstinner vstinner merged commit d9ad171 into python:main May 15, 2026
53 checks passed
@vstinner vstinner deleted the test_signal branch May 15, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant