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 steve.dower
Recipients eric.snow, ned.deily, pablogsal, ronaldoussoren, steve.dower, vinay.sajip
Date 2022-03-14.18:04:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 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:51steve.dowersetrecipients: + steve.dower, vinay.sajip, ronaldoussoren, ned.deily, eric.snow, pablogsal
2022-03-14 18:04:51steve.dowersetmessageid: <>
2022-03-14 18:04:51steve.dowerlinkissue46890 messages
2022-03-14 18:04:51steve.dowercreate