[Python-checkins] [3.12] gh-105857: Document that asyncio subprocess std{in, out, err} can be file handles (GH-107986) (#108332)
ambv
webhook-mailer at python.org
Tue Aug 22 15:37:17 EDT 2023
https://github.com/python/cpython/commit/3cdaa6a7941696c30c774f9dc5b0bad72f8f07e2
commit: 3cdaa6a7941696c30c774f9dc5b0bad72f8f07e2
branch: 3.12
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2023-08-22T21:37:14+02:00
summary:
[3.12] gh-105857: Document that asyncio subprocess std{in,out,err} can be file handles (GH-107986) (#108332)
(cherry picked from commit 13966da71b693b1fae1a8ef66e34e2f0a90ec6c0)
Co-authored-by: Hadházy Tamás <85063808+Hels15 at users.noreply.github.com>
files:
M Doc/library/asyncio-eventloop.rst
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 8f2d8f336c82b..04af53b980ff9 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -1442,6 +1442,7 @@ async/await code consider using the high-level
* *stdin* can be any of these:
* a file-like object
+ * an existing file descriptor (a positive integer), for example those created with :meth:`os.pipe()`
* the :const:`subprocess.PIPE` constant (default) which will create a new
pipe and connect it,
* the value ``None`` which will make the subprocess inherit the file
More information about the Python-checkins
mailing list