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.

Author martin.panter
Recipients docs@python, martin.panter, takluyver
Date 2015-06-10.04:04:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433909056.73.0.964707918197.issue24420@psf.upfronthosting.co.za>
In-reply-to
Content
After the documentation was rearranged by Issue 23342 (revision f0a00ee094ff), the “older high-level APIs” lost the paragraphs that said “The arguments shown above are merely the most common ones”. Given the limited signatures of call(), check_call() and check_output(), it is now too easy to assume that these functions do not accept the less-common Popen arguments.

Also, in that issue I discovered an awkward edge case: there is actually no default value for the check_output() input parameter. Without an “input” parameter, the subprocess inherits its parent’s input, but input=None is equivalent to passing an empty string of the correct type.

This patch hopefully fixes both problems.
History
Date User Action Args
2015-06-10 04:04:16martin.pantersetrecipients: + martin.panter, docs@python, takluyver
2015-06-10 04:04:16martin.pantersetmessageid: <1433909056.73.0.964707918197.issue24420@psf.upfronthosting.co.za>
2015-06-10 04:04:16martin.panterlinkissue24420 messages
2015-06-10 04:04:15martin.pantercreate