[Python-checkins] r87058 - in python/branches/py3k: Doc/library/subprocess.rst Lib/subprocess.py
gregory.p.smith
python-checkins at python.org
Sat Dec 4 19:11:44 CET 2010
Author: gregory.p.smith
Date: Sat Dec 4 19:11:44 2010
New Revision: 87058
Log:
clarify the docs and new warning message.
Modified:
python/branches/py3k/Doc/library/subprocess.rst
python/branches/py3k/Lib/subprocess.py
Modified: python/branches/py3k/Doc/library/subprocess.rst
==============================================================================
--- python/branches/py3k/Doc/library/subprocess.rst (original)
+++ python/branches/py3k/Doc/library/subprocess.rst Sat Dec 4 19:11:44 2010
@@ -160,7 +160,7 @@
.. 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.
Modified: python/branches/py3k/Lib/subprocess.py
==============================================================================
--- python/branches/py3k/Lib/subprocess.py (original)
+++ python/branches/py3k/Lib/subprocess.py Sat Dec 4 19:11:44 2010
@@ -623,8 +623,8 @@
# 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)
More information about the Python-checkins
mailing list