summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-12-04 18:11:44 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2010-12-04 18:11:44 (GMT)
commit8c647cd73759601beba96e54720bf75b5d09ab19 (patch)
tree238fb38c5ea2e0fa60d86f84955b33acbbd60694
parent2f0fd0fa4fd0424cee5718bccc826c2ed7220bb2 (diff)
downloadcpython-8c647cd73759601beba96e54720bf75b5d09ab19.zip
cpython-8c647cd73759601beba96e54720bf75b5d09ab19.tar.gz
cpython-8c647cd73759601beba96e54720bf75b5d09ab19.tar.bz2
clarify the docs and new warning message.
-rw-r--r--Doc/library/subprocess.rst2
-rw-r--r--Lib/subprocess.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index a346d98..bb9bb28 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -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.
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index 949c30a..0b33157 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -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)