gh-141473: Fix subprocess.Popen.communicate to send input to stdin upon a subsequent post-timeout call#141477
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 |
|
🤖 New build scheduled with the buildbot fleet by @gpshead for commit 76a2622 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F141477%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
|
🤖 New build scheduled with the buildbot fleet by @gpshead for commit 1bc972c 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F141477%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
…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 <artur.jamro@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
GH-142059 is a backport of this pull request to the 3.14 branch. |
…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 <artur.jamro@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
GH-142060 is a backport of this pull request to the 3.13 branch. |
…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 <artur.jamro@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
…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 <artur.jamro@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> * no assertStartsWith --------- Co-authored-by: Artur Jamro <artur.jamro@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
…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 <greg@krypto.org>
This fixes the reported bug and updates the documentation.
TODO: