This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Unset VIRTUAL_ENV environment variable in deactivate.bat
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: piotr.dobrogost, python-dev, vinay.sajip
Priority: normal Keywords:

Created on 2013-04-15 22:14 by piotr.dobrogost, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg187038 - (view) Author: Piotr Dobrogost (piotr.dobrogost) Date: 2013-04-15 22:14
activate.bat sets VIRTUAL_ENV environment variable. This variable is treated as a sign that virtualenv is active. For this reason deactivate.bat should unset this variable. See https://github.com/pypa/virtualenv/pull/364
msg189709 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-05-20 22:30
New changeset 9a2eea6fffee by Vinay Sajip in branch '3.3':
Issue #17744: Now unset VIRTUAL_ENV environment variable when deactivating.
http://hg.python.org/cpython/rev/9a2eea6fffee

New changeset e29533c8ec66 by Vinay Sajip in branch 'default':
Closes #17744: Merged fix from 3.3.
http://hg.python.org/cpython/rev/e29533c8ec66
History
Date User Action Args
2022-04-11 14:57:44adminsetgithub: 61944
2013-05-20 22:30:21python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg189709

resolution: fixed
stage: resolved
2013-04-15 22:14:31piotr.dobrogostcreate