Skip to content

Conversation

@garywei944
Copy link
Contributor

Fix #699, now bad_signals excludes those in _ok_code with negative signal numbers.

I don't have much time to work on a unit test for it. This MR is a quick fix.

@garywei944
Copy link
Contributor Author

@amoffat @amoffatgmi @ecederstrand @iamjackg Could you review this MR? And shall we document this behavior?

@amoffat
Copy link
Owner

amoffat commented Feb 23, 2025

Thanks for your contribution. Please add a test(s) if you want this merged in a reasonable timeframe. Otherwise we will be waiting for someone else to write the tests for your code.

@garywei944
Copy link
Contributor Author

@amoffat Could you review 04b8c33? I'm very new to sphinx and I can't successfully build it on my end. Could you help me update it?

And I'm confused by the use case of having a _bg=True process with _piped=True that might be killed by SIGPIPE, so I didn't add a test case for it.

Copy link
Owner

@amoffat amoffat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@amoffat amoffat merged commit abfcf74 into amoffat:develop Feb 24, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Bad" signals can't be ignored with _ok_code

2 participants