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 paul.moore
Recipients eric.smith, eryksun, paul.moore, steve.dower, tim.golden, uranusjr, zach.ware
Date 2019-11-25.08:05:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574669125.62.0.120563484481.issue38905@roundup.psfhosted.org>
In-reply-to
Content
The behaviour in this area is different between 3.7.0, 3.7.2, and 3.7.3 (at least). I have reproduced the issue with 3.7.3. Steve Dower made changes to the way the python executable works in venvs in the point releases of 3.7 - see https://github.com/pypa/virtualenv/issues/1380 and https://github.com/pypa/virtualenv/issues/1339 for some discussion of how this affected virtualenv.

I suspect this issue is related - from 3.7.2 onwards, the python.exe in a venv is a redirector which runs the "base" python.exe, but with sys.executable showing the redirector rather than the actual running exe.
History
Date User Action Args
2019-11-25 08:05:25paul.mooresetrecipients: + paul.moore, eric.smith, tim.golden, zach.ware, eryksun, steve.dower, uranusjr
2019-11-25 08:05:25paul.mooresetmessageid: <1574669125.62.0.120563484481.issue38905@roundup.psfhosted.org>
2019-11-25 08:05:25paul.moorelinkissue38905 messages
2019-11-25 08:05:25paul.moorecreate