Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f112d154
Commit
f112d154
authored
Mar 20, 2013
by
Gregory P. Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove the long obsolete mention of universal newlines mode only being
available when configured at compile time.
parent
06c2f85c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
Doc/library/subprocess.rst
Doc/library/subprocess.rst
+3
-5
Lib/subprocess.py
Lib/subprocess.py
+3
-4
No files found.
Doc/library/subprocess.rst
View file @
f112d154
...
...
@@ -238,11 +238,9 @@ default values. The arguments that are most commonly needed are:
.. note::
The *universal_newlines* feature is supported only if Python is built
with universal newline support (the default). Also, the newlines
attribute of the file objects :attr:`Popen.stdin`, :attr:`Popen.stdout`
and :attr:`Popen.stderr` are not updated by the
:meth:`Popen.communicate` method.
The newlines attribute of the file objects :attr:`Popen.stdin`,
:attr:`Popen.stdout` and :attr:`Popen.stderr` are not updated by
the :meth:`Popen.communicate` method.
If *shell* is ``True``, the specified command will be executed through
the shell. This can be useful if you are using Python primarily for the
...
...
Lib/subprocess.py
View file @
f112d154
...
...
@@ -108,10 +108,9 @@ If universal_newlines is true, the file objects stdout and stderr are
opened as a text files, but lines may be terminated by any of '\n',
the Unix end-of-line convention, '\r', the old Macintosh convention or
'\r\n', the Windows convention. All of these external representations
are seen as '\n' by the Python program. Note: This feature is only
available if Python is built with universal newline support (the
default). Also, the newlines attribute of the file objects stdout,
stdin and stderr are not updated by the communicate() method.
are seen as '\n' by the Python program. Also, the newlines attribute
of the file objects stdout, stdin and stderr are not updated by the
communicate() method.
The startupinfo and creationflags, if given, will be passed to the
underlying CreateProcess() function. They can specify things such as
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment