bpo-31160: Fix test_random for zombie process by vstinner · Pull Request #3045 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Sign up

Appearance settings

Merged

vstinner merged 1 commit intopython:masterfrom

vstinner:random_waitpid

Aug 9, 2017

Merged

bpo-31160: Fix test_random for zombie process#3045

vstinner merged 1 commit intopython:masterfrom

vstinner:random_waitpid

Conversation

@vstinner

Copy link

Member

@vstinner vstinner commented

Aug 9, 2017

edited by bedevere-bot

Loading

TestModule.test_after_fork() now calls os.waitpid() to read the exit
status of the child process to avoid creating a zombie process.

https://bugs.python.org/issue31160

TestModule.test_after_fork() now calls os.waitpid() to read the exit
status of the child process to avoid creating a zombie process.

@vstinner vstinner merged commit da5e930 into python:master

Aug 9, 2017

@vstinner vstinner deleted the random_waitpid branch

August 9, 2017 15:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner @the-knights-who-say-ni