gh-141473: Fix subprocess.Popen.communicate to send input to stdin upon a subsequent post-timeout call#141477
Merged
gpshead merged 5 commits intopython:mainfrom Nov 29, 2025
Merged
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
gpshead
approved these changes
Nov 27, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Nov 29, 2025
…din upon a subsequent post-timeout call (pythonGH-141477) * pythongh-141473: Fix subprocess.Popen.communicate to send input to stdin * Docs: Clarify that `input` is one time only on `communicate()` * NEWS entry * Add a regression test. --------- (cherry picked from commit 526d7a8) Co-authored-by: Artur Jamro <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
|
GH-142059 is a backport of this pull request to the 3.14 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Nov 29, 2025
…din upon a subsequent post-timeout call (pythonGH-141477) * pythongh-141473: Fix subprocess.Popen.communicate to send input to stdin * Docs: Clarify that `input` is one time only on `communicate()` * NEWS entry * Add a regression test. --------- (cherry picked from commit 526d7a8) Co-authored-by: Artur Jamro <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
|
GH-142060 is a backport of this pull request to the 3.13 branch. |
gpshead
added a commit
that referenced
this pull request
Nov 29, 2025
…tdin upon a subsequent post-timeout call (GH-141477) (#142059) gh-141473: Fix subprocess.Popen.communicate to send input to stdin upon a subsequent post-timeout call (GH-141477) * gh-141473: Fix subprocess.Popen.communicate to send input to stdin * Docs: Clarify that `input` is one time only on `communicate()` * NEWS entry * Add a regression test. --------- (cherry picked from commit 526d7a8) Co-authored-by: Artur Jamro <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
gpshead
added a commit
that referenced
this pull request
Nov 29, 2025
…tdin upon a subsequent post-timeout call (GH-141477) (#142060) * gh-141473: Fix subprocess.Popen.communicate to send input to stdin upon a subsequent post-timeout call (GH-141477) * gh-141473: Fix subprocess.Popen.communicate to send input to stdin * Docs: Clarify that `input` is one time only on `communicate()` * NEWS entry * Add a regression test. --------- (cherry picked from commit 526d7a8) Co-authored-by: Artur Jamro <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]> * no assertStartsWith --------- Co-authored-by: Artur Jamro <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
StanFromIreland
pushed a commit
to StanFromIreland/cpython
that referenced
this pull request
Dec 6, 2025
…din upon a subsequent post-timeout call (pythonGH-141477) * pythongh-141473: Fix subprocess.Popen.communicate to send input to stdin * Docs: Clarify that `input` is one time only on `communicate()` * NEWS entry * Add a regression test. --------- Co-authored-by: Gregory P. Smith <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes the reported bug and updates the documentation.
TODO: