-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-92417: subprocess
docs: remove note on compatibility with Python <3.5
#92538
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹
@@ -33,9 +33,6 @@ The recommended approach to invoking subprocesses is to use the :func:`run` | |||
function for all use cases it can handle. For more advanced use cases, the | |||
underlying :class:`Popen` interface can be used directly. | |||
|
|||
The :func:`run` function was added in Python 3.5; if you need to retain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We normally keep the notes. on when a function was added.
There are many packages that need to maintain cross-version support even if we don't support the old versions. This information is critical for them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The .. versionadded:: 3.5
note for subprocess.run()
, on line 103 of this file, is not touched by this PR (and I would not want to remove it). This PR proposes to remove an additional note, which seems to me to be overly prominent now that 3.4 has been end-of-life for a long time.
Backporting to 3.10 for consistency with comment in #92544 (comment). |
Thanks @AlexWaygood for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
GH-92972 is a backport of this pull request to the 3.11 branch. |
…Python <3.5 (pythonGH-92538) (cherry picked from commit 84b8600) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
GH-92973 is a backport of this pull request to the 3.10 branch. |
…Python <3.5 (pythonGH-92538) (cherry picked from commit 84b8600) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
#92417