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 eric.snow, ned.deily, pablogsal, ronaldoussoren, steve.dower, vinay.sajip
Date 2022-03-16.11:00:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647428449.9.0.376966272127.issue46890@roundup.psfhosted.org>
In-reply-to
Content
> However, it's the site.py module that actually updates sys.prefix for the venv. So you may just be inspecting at the wrong point? Or possibly it's in a codepath that doesn't run on macOS because *previously* it was being set correctly in getpath instead of being deferred until later?

I just noticed the same. Is this intentional? This means that "python -S" doesn't work with a virtual environment. I also noticed that site.py's venv support contains some special code for framework builds that shouldn't be necessary. But I guess that's something for some other tickets.

I'm pretty sure I now just have to clean up my patch and create a PR from it.
History
Date User Action Args
2022-03-16 11:00:49ronaldoussorensetrecipients: + ronaldoussoren, vinay.sajip, ned.deily, eric.snow, steve.dower, pablogsal
2022-03-16 11:00:49ronaldoussorensetmessageid: <1647428449.9.0.376966272127.issue46890@roundup.psfhosted.org>
2022-03-16 11:00:49ronaldoussorenlinkissue46890 messages
2022-03-16 11:00:49ronaldoussorencreate