You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-40727: Explicitly check signum in GAP error handler
Follow-up to #40613.
Instead of checking for the string `user interrupt` (which might change
between GAP versions, or if there's some unforeseen way the string might
be sneaked in), we store the signum from the signal handler then check
it in the GAP error handler.
Also optionally use `AlarmInterrupt` instead of `KeyboardInterrupt` if
cysignals is available.
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [ ] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - #12345: short description why this is a dependency -->
<!-- - #34567: ... -->
URL: #40727
Reported by: user202729
Reviewer(s): Michael Orlitzky, user202729
0 commit comments