Skip to content

[WIP] bpo-38546: Add support.get_child_processes()#17640

Closed
vstinner wants to merge 1 commit intopython:masterfrom
vstinner:get_child_processes
Closed

[WIP] bpo-38546: Add support.get_child_processes()#17640
vstinner wants to merge 1 commit intopython:masterfrom
vstinner:get_child_processes

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Dec 17, 2019

libregrtest runtest() now checks if the test leaks direct child
process running in the background.

https://bugs.python.org/issue38546

libregrtest runtest() now checks if the test leaks direct child
process running in the background.
Copy link
Copy Markdown
Contributor

@ncoghlan ncoghlan left a comment

Choose a reason for hiding this comment

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

LGTM! One key point is that it fails gracefully on systems without /proc

@vstinner
Copy link
Copy Markdown
Member Author

I failed to prove that this PR helps to detect leaked processes. I prefer to not merge it until I managed to prove that it's useful. In the meanwhile, there are already existing checks which should detect some cases.

See https://pythondev.readthedocs.io/unstable_tests.html for my notes on unstable tests.

@vstinner vstinner closed this Mar 10, 2020
@vstinner vstinner deleted the get_child_processes branch March 10, 2020 17:14
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.

4 participants