[issue36136] Windows: python._pth sets isolated mode late during Python initialization
Steve Dower
report at bugs.python.org
Tue Feb 4 21:59:20 EST 2020
Steve Dower <steve.dower at python.org> added the comment:
Sorry I missed seeing this - I rarely browse new issues unless they're "Windows" tagged.
Reading what's in master, I don't *think* there's any regression in the main case, since the values from pathconfig override config and AFAICT they aren't used in between:
if (pathconfig.isolated != -1) {
config->isolated = pathconfig.isolated;
}
Haven't looked back at 3.7, but I haven't heard of any issues coming up here from people I know who have shipped this (though they might have been using SetPath to override it all anyway).
All of this could become irrelevant though if we add support to other platforms for ._pth files :) (yes, it has been requested)
----------
nosy: +steve.dower
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36136>
_______________________________________
More information about the Python-bugs-list
mailing list