bpo-31804: Fix multiprocessing.Process with broken standard streams#6079
Conversation
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.
|
@pitrou: Please replace |
|
Thanks @pitrou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6. |
|
Thanks @pitrou for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7. |
|
Sorry, @pitrou, I could not cleanly backport this to |
|
Sorry, @pitrou, I could not cleanly backport this to |
|
Thanks @pitrou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
|
GH-6080 is a backport of this pull request to the 3.7 branch. |
…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>
…eams (pythonGH-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)
|
GH-6081 is a backport of this pull request to the 3.6 branch. |
…H-6079) (GH-6080) 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>
…eams (GH-6079) (GH-6081) 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)
…ython#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.
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.
https://bugs.python.org/issue31804