Commit 6d4ea5ac authored by Gregory P. Smith's avatar Gregory P. Smith

clarify the docs and new warning message.

parent 9f68c320
......@@ -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.
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment