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
Documentation needs to declare CalledProcessError as potentially resulting from subprocess.run() #87801
Comments
The documentation for subprocess says that run() can return CalledProcessError... https://docs.python.org/3/library/subprocess.html#subprocess.run ...but when you click on the link (5th paragraph down) for CalledProcessError, it only lists check_call() and check_output() as methods that can return it. My understanding is that check_call(), at least, is (becoming?) deprecated. So this section should definitely mention run(): https://docs.python.org/3/library/subprocess.html#subprocess.CalledProcessError |
pythonGH-91628) (cherry picked from commit 567be05) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
pythonGH-91628) (cherry picked from commit 567be05) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Thanks, looks like this has been fixed |
pythonGH-91628) (cherry picked from commit 567be05) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
jennievh mannequin commentedMar 26, 2021
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: