Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-37424: Avoid a hang in subprocess.run timeout output capture #14490
Conversation
the-knights-who-say-ni
added
the
CLA signed
label
Jul 1, 2019
bedevere-bot
added
the
awaiting core review
label
Jul 1, 2019
gpshead
added
needs backport to 3.7
needs backport to 3.8
labels
Jul 1, 2019
This comment has been minimized.
This comment has been minimized.
|
If an API change is made to make the default behavior easier for people in the future, that part won't get backported to 3.7. 3.8 only. |
gpshead
changed the title
bpo-issue37424: Avoid a hang in subprocess.run timeout output capture
bpo-37424: Avoid a hang in subprocess.run timeout output capture
Jul 1, 2019
gpshead
requested review from
giampaolo and
vstinner
Jul 1, 2019
giampaolo
reviewed
Jul 1, 2019
vstinner
reviewed
Jul 1, 2019
gpshead
reviewed
Jul 4, 2019
brettcannon
added
the
type-bugfix
label
Jul 5, 2019
gpshead
self-assigned this
Aug 22, 2019
gpshead
requested a review
from Yhg1s
Sep 10, 2019
Yhg1s
reviewed
Sep 10, 2019
Yhg1s
merged commit 580d278
into
python:master
Sep 11, 2019
5 checks passed
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Sep 11, 2019
bedevere-bot
removed
the
awaiting core review
label
Sep 11, 2019
miss-islington
added a commit
to miss-islington/cpython
that referenced
this pull request
Sep 11, 2019
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Sep 11, 2019
|
GH-15897 is a backport of this pull request to the 3.8 branch. |
bedevere-bot
removed
the
needs backport to 3.8
label
Sep 11, 2019
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Sep 11, 2019
|
GH-15898 is a backport of this pull request to the 3.7 branch. |
bedevere-bot
removed
the
needs backport to 3.7
label
Sep 11, 2019
miss-islington
added a commit
to miss-islington/cpython
that referenced
this pull request
Sep 11, 2019
miss-islington
added a commit
that referenced
this pull request
Sep 11, 2019
miss-islington
added a commit
that referenced
this pull request
Sep 11, 2019
vrpolakatcisco
added a commit
to vrpolakatcisco/cpython
that referenced
this pull request
Sep 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
gpshead commentedJul 1, 2019
•
edited
Fixes a possible hang when using a timeout on
subprocess.run()whilecapturing output. If the child process spawned its own children or otherwise
connected its stdout or stderr handles with another process, we could hang
after the timeout was reached and our child was killed when attempting to read
final output from the pipes.
https://bugs.python.org/issue37424