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.

Author BWenzel
Recipients BWenzel, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-04-16.07:14:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555398867.81.0.13541124623.issue36634@roundup.psfhosted.org>
In-reply-to
Content
So if I replace this section from venv's activate.bat:
if defined _OLD_VIRTUAL_PATH (
    set "PATH=%_OLD_VIRTUAL_PATH%"
) else (
    set "_OLD_VIRTUAL_PATH=%PATH%"
)

with the part from virtualenv's activate.bat:

REM if defined _OLD_VIRTUAL_PATH (
if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH1
    set "PATH=%_OLD_VIRTUAL_PATH%"
:ENDIFVPATH1
REM ) else (
if defined _OLD_VIRTUAL_PATH goto ENDIFVPATH2
    set "_OLD_VIRTUAL_PATH=%PATH%"
:ENDIFVPATH2

then venv\Scrtips\activate.bat seems to behave as expected.
History
Date User Action Args
2019-04-16 07:14:27BWenzelsetrecipients: + BWenzel, paul.moore, tim.golden, zach.ware, steve.dower
2019-04-16 07:14:27BWenzelsetmessageid: <1555398867.81.0.13541124623.issue36634@roundup.psfhosted.org>
2019-04-16 07:14:27BWenzellinkissue36634 messages
2019-04-16 07:14:27BWenzelcreate