Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Closed
vstinner wants to merge 1 commit into
python:masterpython/cpython:masterfrom
vstinner:get_child_processesCopy head branch name to clipboard
Closed

[WIP] bpo-38546: Add support.get_child_processes()#17640
vstinner wants to merge 1 commit into
python:masterpython/cpython:masterfrom
vstinner:get_child_processesCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Dec 17, 2019

Copy link
Copy Markdown
Member

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.

@ncoghlan ncoghlan left a comment

Copy link
Copy Markdown
Contributor

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.