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

[3.6] bpo-31160: Backport reap_children() fixes from master to 3.6#3060

Merged
vstinner merged 4 commits into
python:3.6python/cpython:3.6from
vstinner:waitpid36Copy head branch name to clipboard
Aug 10, 2017
Merged

[3.6] bpo-31160: Backport reap_children() fixes from master to 3.6#3060
vstinner merged 4 commits into
python:3.6python/cpython:3.6from
vstinner:waitpid36Copy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Aug 10, 2017

Copy link
Copy Markdown
Member

PtyTests.run_child() now calls os.waitpid() to read the exit status
of the child process to avoid creating zombie process and leaking
processes in the background.
(cherry picked from commit 4baca1b)
Add a post_test_cleanup() function which currently only calls
support.reap_children().
(cherry picked from commit e3510d7)
TestRandomNameSequence.test_process_awareness() now calls
os.waitpid() to avoid leaking a zombie process.
(cherry picked from commit 6c8c294)
@vstinner vstinner merged commit 719a15b into python:3.6 Aug 10, 2017
@vstinner vstinner deleted the waitpid36 branch August 10, 2017 14:02
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.

2 participants

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