cpython: 0cd9423770fa (original) (raw)

Mercurial > cpython

changeset 78546:0cd9423770fa

Issue #15561: Update subprocess docs to reference io.TextIOWrapper. Patch by Chris Jerdonek. [#15561]

Andrew Svetlov andrew.svetlov@gmail.com
date Mon, 13 Aug 2012 22:11:14 +0300
parents db96fe40de54(current diff)381aaf79c254(diff)
children 1c8a6df94602
files Doc/library/io.rst Doc/library/subprocess.rst
diffstat 2 files changed, 29 insertions(+), 20 deletions(-)[+] [-] Doc/library/io.rst 3 Doc/library/subprocess.rst 46

line wrap: on

line diff

--- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -754,7 +754,8 @@ Text I/O It inherits :class:TextIOBase. encoding gives the name of the encoding that the stream will be decoded or

--- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -156,7 +156,7 @@ use cases, the underlying :class:Popen decoding to text will often need to be handled at the application level. This behaviour may be overridden by setting universal_newlines to

+

+ .. warning:: Executing shell commands that incorporate unsanitized input from an @@ -490,18 +507,9 @@ functions. .. _side-by-side assembly: http://en.wikipedia.org/wiki/Side-by-Side_Assembly[](#l2.56)