Issue 14966: Fully document subprocess.CalledProcessError (original) (raw)

Issue14966

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: Alyssa 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:31 admin set github: 59171
2012-08-09 12:35:14 asvetlov link issue15501 superseder
2012-08-09 12:34:06 asvetlov set status: open -> closednosy: + asvetlovmessages: + resolution: duplicatestage: resolved
2012-07-30 11:13:07 anton.barkovsky set nosy: + anton.barkovsky
2012-06-11 20:13:05 michael.driscoll set nosy: + michael.driscollmessages: +
2012-06-05 16:32:41 cvrebert set nosy: + cvrebert
2012-05-31 06:46:02 ncoghlan create