cpython: 6ab285820db2 (original) (raw)
Mercurial > cpython
changeset 98772:6ab285820db2
Issue #25154: Deprecate the pyvenv script. This was done so as to move users to `python3 -m venv` which prevents confusion over which Python interpreter will be used in the virtual environment when more than one is installed. [#25154]
Brett Cannon brett@python.org | |
---|---|
date | Fri, 16 Oct 2015 15:14:27 -0700 |
parents | 5877c191b76e |
children | 91c44dc35dfd |
files | Doc/whatsnew/3.6.rst Misc/NEWS Tools/scripts/pyvenv |
diffstat | 3 files changed, 16 insertions(+), 1 deletions(-)[+] [-] Doc/whatsnew/3.6.rst 5 Misc/NEWS 6 Tools/scripts/pyvenv 6 |
line wrap: on
line diff
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -197,7 +197,10 @@ Deprecated functions and types of the C
Deprecated features
-------------------
-* None yet.
+* The pyvenv
script has been deprecated in favour of python3 -m venv
.
- This prevents confusion as to what Python interpreter
pyvenv
is - connected to and thus what Python interpreter will be used by the virtual
- environment. See :issue:
25154
. Removed
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -289,6 +289,12 @@ Windows
- Issue #25022: Removed very outdated PC/example_nt/ directory. +Tools/Demos +----------- + +- Issue #25154: The pyvenv script has been deprecated in favour of
python3 -m venv
. + What's New in Python 3.5.1 release candidate 1? ===============================================
--- a/Tools/scripts/pyvenv +++ b/Tools/scripts/pyvenv @@ -1,6 +1,12 @@ #!/usr/bin/env python3 if name == 'main': import sys