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
6d4ea5ac
Commit
6d4ea5ac
authored
Dec 04, 2010
by
Gregory P. Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarify the docs and new warning message.
parent
9f68c320
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/library/subprocess.rst
Doc/library/subprocess.rst
+1
-1
Lib/subprocess.py
Lib/subprocess.py
+2
-2
No files found.
Doc/library/subprocess.rst
View file @
6d4ea5ac
...
...
@@ -160,7 +160,7 @@ This module defines one class called :class:`Popen`:
.. versionchanged:: 3.2
Callers should always specify a *close_fds* to avoid a DeprecationWarning.
The default
value for
this argument will be changing in Python 3.3.
The default
behavior of
this argument will be changing in Python 3.3.
If *shell* is :const:`True`, the specified command will be executed through the
shell.
...
...
Lib/subprocess.py
View file @
6d4ea5ac
...
...
@@ -623,8 +623,8 @@ class Popen(object):
# Notification for http://bugs.python.org/issue7213 & issue2320
warnings
.
warn
(
'The close_fds parameter was not specified. Its default'
'
will change from False to True in a future Python
'
'
version.
Most users should set it to True. Please'
'
behavior will change in a future Python version.
'
' Most users should set it to True. Please'
' update your code explicitly set close_fds.'
,
DeprecationWarning
)
...
...
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