[issue43635] Documentation needs to declare CalledProcessError as potentially resulting from subprocess.run()

New submission from Jennie sk8tr.girl@gmail.com:
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.CalledProcessEr...
---------- assignee: docs@python components: Documentation messages: 389564 nosy: docs@python, jennievh priority: normal severity: normal status: open title: Documentation needs to declare CalledProcessError as potentially resulting from subprocess.run() type: enhancement versions: Python 3.9
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue43635 _______________________________________
participants (1)
-
Jennie