Message415334
> 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. |
|
Date |
User |
Action |
Args |
2022-03-16 11:00:49 | ronaldoussoren | set | recipients:
+ ronaldoussoren, vinay.sajip, ned.deily, eric.snow, steve.dower, pablogsal |
2022-03-16 11:00:49 | ronaldoussoren | set | messageid: <1647428449.9.0.376966272127.issue46890@roundup.psfhosted.org> |
2022-03-16 11:00:49 | ronaldoussoren | link | issue46890 messages |
2022-03-16 11:00:49 | ronaldoussoren | create | |
|