]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141473: Fix subprocess.Popen.communicate to send input to stdin upon a subsequent...
authorArtur Jamro <artur.jamro@gmail.com>
Sat, 29 Nov 2025 02:04:52 +0000 (03:04 +0100)
committerGitHub <noreply@github.com>
Sat, 29 Nov 2025 02:04:52 +0000 (18:04 -0800)
commit526d7a8bb47bd8ff58c829c30384cd70cc5d0747
tree21c7c1e9e713a579713d7758054045ea25b28359
parentd2d2e92110751fff3cbb2ce26355af292dbcdcf6
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.

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/library/subprocess.rst
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/NEWS.d/next/Library/2025-11-27-20-16-38.gh-issue-141473.Wq4xVN.rst [new file with mode: 0644]