From cf7ca4d142e60a452ecc4d1d62a18979251c05a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 27 Apr 2023 12:51:47 +0200 Subject: [PATCH] gh-89415: update docs --- Doc/library/asyncio-subprocess.rst | 4 ++++ .../next/Library/2020-02-25-00-43-22.bpo-39744.hgK689.rst | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst index ee2c71efa70ea79..b7c83aa04c09f13 100644 --- a/Doc/library/asyncio-subprocess.rst +++ b/Doc/library/asyncio-subprocess.rst @@ -230,6 +230,10 @@ their completion. Note, that the data read is buffered in memory, so do not use this method if the data size is large or unlimited. + .. versionchanged:: 3.12 + + *stdin* gets closed when `input=None` too. + .. method:: send_signal(signal) Sends the signal *signal* to the child process. diff --git a/Misc/NEWS.d/next/Library/2020-02-25-00-43-22.bpo-39744.hgK689.rst b/Misc/NEWS.d/next/Library/2020-02-25-00-43-22.bpo-39744.hgK689.rst index 791cf04f8b795d4..21012bc8f620b60 100644 --- a/Misc/NEWS.d/next/Library/2020-02-25-00-43-22.bpo-39744.hgK689.rst +++ b/Misc/NEWS.d/next/Library/2020-02-25-00-43-22.bpo-39744.hgK689.rst @@ -1 +1 @@ -Make func:``asyncio.subprocess.Process.communicate`` close subprocess's stdin even when called with input=None +Make func:``asyncio.subprocess.Process.communicate`` close subprocess's stdin even when called with `input=None`