Message415175
The sys module gets initialised in _PySys_UpdateConfig() in Python/sysmodule.c. It gets called later in pylifecycle.c. But it ought to just copy directly from the config.
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? |
|
Date |
User |
Action |
Args |
2022-03-14 18:04:51 | steve.dower | set | recipients:
+ steve.dower, vinay.sajip, ronaldoussoren, ned.deily, eric.snow, pablogsal |
2022-03-14 18:04:51 | steve.dower | set | messageid: <1647281091.27.0.761443021613.issue46890@roundup.psfhosted.org> |
2022-03-14 18:04:51 | steve.dower | link | issue46890 messages |
2022-03-14 18:04:51 | steve.dower | create | |
|