diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-03-11 18:42:37 (GMT) |
---|---|---|
committer | Antoine Pitrou <pitrou@free.fr> | 2018-03-11 18:42:37 (GMT) |
commit | ff5d21331ec6cefec6ba5b78d256d8dbcd67a069 (patch) | |
tree | d4a2a35b1b17721171f87c3b5977246c5cb7173e /Lib/test/test_datetime.py | |
parent | 04aadf23eac51fec2e436c5960c1362bbb7d03de (diff) | |
download | cpython-ff5d21331ec6cefec6ba5b78d256d8dbcd67a069.zip cpython-ff5d21331ec6cefec6ba5b78d256d8dbcd67a069.tar.gz cpython-ff5d21331ec6cefec6ba5b78d256d8dbcd67a069.tar.bz2 |
bpo-31804: Fix multiprocessing.Process with broken standard streams (GH-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 e756f66c83786ee82f5f7d45931ae50a6931dd7f)
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Diffstat (limited to 'Lib/test/test_datetime.py')
0 files changed, 0 insertions, 0 deletions