Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-101283: Try to load the fallback cmd.exe by an absolute path#101286
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
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
25 commits Select commit Hold shift + click to select a range
d122f14 Try to load the fallback cmd.exe by an absolute path
arhadthedev e96457c Add a NEWS entry
arhadthedev b26918e Fix minor grammar
arhadthedev 9a0fdbd Address patchcheck CI error report
arhadthedev 091e970 Address the review
arhadthedev a3cbdb6 Simplify NEWS wording and reattribute the totally rewritten PR
arhadthedev 8dab7f1 Address the review-2
arhadthedev 1d8d4a6 Update Lib/subprocess.py
arhadthedev 9ed1758 Simplify the NEWS entry
arhadthedev a2734a6 Clarify attribution
arhadthedev 407aa35 Update 2023-01-24-16-12-00.gh-issue-101283.9tqu39.rst
arhadthedev f1dfcff Merge branch 'main' into absolute-cmdexe-fallback-patch
arhadthedev 880d443 Add `Changed in version` entries
arhadthedev b34f998 Try another multiversion syntax
arhadthedev 84cf94f Try the third, multiline syntax
arhadthedev 9cbdfca Apply the gpshead's suggestion
arhadthedev 8bfb11b Merge branch 'main' into absolute-cmdexe-fallback-patch
arhadthedev 86473da Address the review
arhadthedev f1b4412 Apply suggestions from code review
arhadthedev 11ebd69 Improve performance by triggering `cmd.exe` search on `executable=Non…
arhadthedev 25dcbb8 Update the Changed In section
arhadthedev fc08548 Update Lib/subprocess.py
arhadthedev 7e06703 Fix env variable name misquoting
arhadthedev 81aba86 Manually fix env variable name misquoting
arhadthedev fecd606 Update Lib/subprocess.py
arhadthedev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions 3 Misc/NEWS.d/next/Security/2023-01-24-16-12-00.gh-issue-101283.9tqu39.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| :class:`subprocess.Popen` now uses a safer approach to find | ||
| ``cmd.exe`` when launching with ``shell=True``. Patch by Eryk Sun, | ||
| based on a patch by Oleg Iarygin. |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
This version number is wrong. 3.11.2 was released before this change was merged. As this PR is in the
mainbranch, listing it as 3.12 in these docs is more appropriate. Documentation readers should not be expected to know which patch release versions came before a major release.We lack the ability to list all versions in versionchanged markers in our docs so have done it this way elsewhere as well when a visible API change has been made in patch releases.