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 ronaldoussoren
Recipients mppf, ned.deily, ronaldoussoren
Date 2020-11-10.19:08:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605035296.68.0.965763546839.issue42312@roundup.psfhosted.org>
In-reply-to
Content
The difference in behaviour is because the executable does not look at argv[0] to find its location on macOS. Your trick therefore doesn't work.

I prefer the current behaviour.

What I don't understand is *why* you want to do this. If I read your report correctly you're trying to run an Python 3 executable outside of the virtual environment as if it is in the virtual environment. Why not just use the binary inside the virtual environment?
History
Date User Action Args
2020-11-10 19:08:16ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, mppf
2020-11-10 19:08:16ronaldoussorensetmessageid: <1605035296.68.0.965763546839.issue42312@roundup.psfhosted.org>
2020-11-10 19:08:16ronaldoussorenlinkissue42312 messages
2020-11-10 19:08:16ronaldoussorencreate