summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <brettcannon@users.noreply.github.com>2018-09-21 22:27:26 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-09-21 22:27:26 (GMT)
commitd64ee1a5ba2007ae5fe085dd3495013d940a51bb (patch)
treecb0a2cb25675bbc938ed79d91670e5b07ba34640 /Doc
parentdb1a80e97aa7217c561fb3627f70be1882de9534 (diff)
downloadcpython-d64ee1a5ba2007ae5fe085dd3495013d940a51bb.zip
cpython-d64ee1a5ba2007ae5fe085dd3495013d940a51bb.tar.gz
cpython-d64ee1a5ba2007ae5fe085dd3495013d940a51bb.tar.bz2
bpo-32718: Make Activate.ps1 for venv cross-platform and available on all platforms (GH-9321)
PowerShell Core 6.1 is the cross-platform port of Windows PowerShell. This change updates Activate.ps1 to not make Windows assumptions as well as installing it into the bin/Scripts directory on all operating systems. Requires PowerShell Core 6.1 for proper readline support once the shell has been activated for the virtual environment.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.8.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 1c129a7..26928fb 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -136,6 +136,13 @@ pathlib
contain characters unrepresentable at the OS level.
(Contributed by Serhiy Storchaka in :issue:`33721`.)
+venv
+----
+
+* :mod:`venv` now includes an ``Activate.ps1`` script on all platforms for
+ activating virtual environments under PowerShell Core 6.1.
+ (Contributed by Brett Cannon in :issue:`32718`.)
+
Optimizations
=============
@@ -321,7 +328,7 @@ CPython bytecode changes
* The interpreter loop has been simplified by moving the logic of unrolling
the stack of blocks into the compiler. The compiler emits now explicit
- instructions for adjusting the stack of values and calling the cleaning
+ instructions for adjusting the stack of values and calling the cleaning-
up code for :keyword:`break`, :keyword:`continue` and :keyword:`return`.
Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`,