Skip to content

[3.7] bpo-31804: Fix multiprocessing.Process with broken standard streams (GH-6079)#6080

Merged
pitrou merged 1 commit into
python:3.7from
miss-islington:backport-e756f66-3.7
Mar 11, 2018
Merged

[3.7] bpo-31804: Fix multiprocessing.Process with broken standard streams (GH-6079)#6080
pitrou merged 1 commit into
python:3.7from
miss-islington:backport-e756f66-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Mar 11, 2018

Copy link
Copy Markdown
Contributor

In some conditions the standard streams will be None or closed in the child process (for example if using "pythonw" instead of "python" on Windows). Avoid failing with a non-0 exit code in those conditions.

Report and initial patch by poxthegreat.
(cherry picked from commit e756f66)

Co-authored-by: Antoine Pitrou pitrou@free.fr

https://bugs.python.org/issue31804

…ythonGH-6079)

In some conditions the standard streams will be None or closed in the child process (for example if using "pythonw" instead of "python" on Windows).  Avoid failing with a non-0 exit code in those conditions.

Report and initial patch by poxthegreat.
(cherry picked from commit e756f66)

Co-authored-by: Antoine Pitrou <pitrou@free.fr>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@pitrou: Backport status check is done, and it's a success ✅ .

@pitrou pitrou merged commit ff5d213 into python:3.7 Mar 11, 2018
@miss-islington

Copy link
Copy Markdown
Contributor Author

Thanks, @pitrou!

@miss-islington miss-islington deleted the backport-e756f66-3.7 branch March 11, 2018 18:42
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.

4 participants