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 ncoghlan
Recipients docs@python, eric.araujo, ezio.melotti, flox, ncoghlan, python-dev, rhettinger
Date 2011-10-27.08:06:26
SpamBayes Score 5.1758153e-11
Marked as misclassified No
Message-id <1319702787.71.0.114868395611.issue13237@psf.upfronthosting.co.za>
In-reply-to
Content
As the last checkin message says, I've made the documentation for the helper functions more self-contained. Each now has its own short "shell=True" warning with a pointer to the full explanation in the shared parameter description. There was also a copy-and-paste error in the Popen docs where the cross-reference for "shell=True" was a note rather than a warning, so I fixed that.

For the helper functions, people are unlikely to pass in "stdout=PIPE" or "stderr=PIPE" in the first place, since there's no point (you can't get at the Popen object, so you can't at the streams in order to read from them). Accordingly, I downgraded the relevant boxes to be notes rather than warnings (the boxes down near Popen.wait() and the data attribute descriptions remain warnings).

The latest version also uses the "keyword only" syntax for all three helper functions, but describes them with the following text in each case:

=========
The arguments shown above are merely the most common ones, described below in :ref:`frequently-used-arguments` (hence the slightly odd notation in the abbreviated signature).
=========

For 3.x, I'll reword that to:

=========
The arguments shown above are merely the most common ones, described below in :ref:`frequently-used-arguments` (hence the use of keyword only argument notation in the abbreviated signature).
=========
History
Date User Action Args
2011-10-27 08:06:27ncoghlansetrecipients: + ncoghlan, rhettinger, ezio.melotti, eric.araujo, flox, docs@python, python-dev
2011-10-27 08:06:27ncoghlansetmessageid: <1319702787.71.0.114868395611.issue13237@psf.upfronthosting.co.za>
2011-10-27 08:06:27ncoghlanlinkissue13237 messages
2011-10-27 08:06:26ncoghlancreate