Issue #23465: Implement PEP 486 - Make the Python Launcher aware of v… · python/cpython@76998fe · GitHub
Skip to content

Commit 76998fe

Browse files
committed
Issue #23465: Implement PEP 486 - Make the Python Launcher aware of virtual environments (patch by Paul Moore)
1 parent b48af34 commit 76998fe

4 files changed

Lines changed: 73 additions & 4 deletions

File tree

Doc/using/windows.rst

Lines changed: 20 additions & 0 deletions

Doc/whatsnew/3.5.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,18 @@ manually, and should make it more robust against asynchronous signal reception.
123123
:pep:`475` -- Retry system calls failing with EINTR
124124

125125

126+
PEP 486: Make the Python Launcher aware of virtual environments
127+
---------------------------------------------------------------
128+
129+
:pep:`486` makes the Windows launcher (see :pep:`397`) aware of an active
130+
virtual environment. When the default interpreter would be used and the
131+
``VIRTUAL_ENV`` environment variable is set, the interpreter in the virtual
132+
environment will be used.
133+
134+
.. seealso::
135+
136+
:pep:`486` -- Make the Python Launcher aware of virtual environments
137+
126138
Other Language Changes
127139
======================
128140

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ Build
7777
Windows
7878
-------
7979

80+
- Issue #23465: Implement PEP 486 - Make the Python Launcher aware of virtual
81+
environments. Patch by Paul Moore.
82+
8083
- Issue #23437: Make user scripts directory versioned on Windows. Patch by Paul
8184
Moore.
8285

PC/launcher.c

Lines changed: 38 additions & 4 deletions

0 commit comments

Comments
 (0)