This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Fully document subprocess.CalledProcessError
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: docs@python Nosy List: anton.barkovsky, asvetlov, cvrebert, docs@python, michael.driscoll, ncoghlan
Priority: normal Keywords: easy

Created on 2012-05-31 06:46 by ncoghlan, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg161984 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2012-05-31 06:46
CalledProcessError provides a nice encapsulation for a returncode, the original command and any partial output. The API should be officially documented so that third party subprocess.Popen convenience wrappers can use it easily.
msg162643 - (view) Author: Michael Driscoll (michael.driscoll) * Date: 2012-06-11 20:13
I don't see the error, TimeoutExpired, documented either. At least the doc page mentions CalledProcessError a couple times. Do we want to use the docstring for CalledProcessError for the documentation page? Where on the page would it go? I assume we'd want an example showing how to use it?
msg167783 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2012-08-09 12:34
Documented in #15501. I like to close this issue as duplicate.
If anybody don't agree with closing feel free to reopen this one.
History
Date User Action Args
2022-04-11 14:57:31adminsetgithub: 59171
2012-08-09 12:35:14asvetlovlinkissue15501 superseder
2012-08-09 12:34:06asvetlovsetstatus: open -> closed

nosy: + asvetlov
messages: + msg167783

resolution: duplicate
stage: resolved
2012-07-30 11:13:07anton.barkovskysetnosy: + anton.barkovsky
2012-06-11 20:13:05michael.driscollsetnosy: + michael.driscoll
messages: + msg162643
2012-06-05 16:32:41cvrebertsetnosy: + cvrebert
2012-05-31 06:46:02ncoghlancreate