[Python-checkins] cpython (merge 3.4 -> default): Closes #23202: pyvenv documentation updated to match its behavior.

vinay.sajip python-checkins at python.org
Fri Jan 23 20:37:19 CET 2015


https://hg.python.org/cpython/rev/a3a44d871d70
changeset:   94255:a3a44d871d70
parent:      94253:42971b769c0b
parent:      94254:56f2a42e0897
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Fri Jan 23 19:36:54 2015 +0000
summary:
  Closes #23202: pyvenv documentation updated to match its behavior.

files:
  Doc/using/venv-create.inc |  7 +++++--
  1 files changed, 5 insertions(+), 2 deletions(-)


diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -57,8 +57,11 @@
    Installs pip by default, added the ``--without-pip``  and ``--copies``
    options
 
-If the target directory already exists an error will be raised, unless
-the ``--clear`` or ``--upgrade`` option was provided.
+.. versionchanged:: 3.4
+   In earlier versions, if the target directory already existed, an error was
+   raised, unless the ``--clear`` or ``--upgrade`` option was provided. Now,
+   if an existing directory is specified, its contents are removed and
+   the directory is processed as if it had been newly created.
 
 The created ``pyvenv.cfg`` file also includes the
 ``include-system-site-packages`` key, set to ``true`` if ``venv`` is

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list