[issue36136] Windows: python._pth sets isolated mode late during Python initialization

2021-09-21 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36136] Windows: python._pth sets isolated mode late during Python initialization

2020-02-04 Thread Steve Dower
Steve Dower 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

[issue36136] Windows: python._pth sets isolated mode late during Python initialization

2019-02-27 Thread STINNER Victor
New submission from STINNER Victor : The read_pth_file() of PC/getpathp.c sets Py_IsolatedFlag and Py_NoSiteFlag to 1 in Python 3.6. calculate_path() checked if a file with a "._pth" extension exists in "dllpath" or "progpath". I refactored deeply the Python initialization in Python 3.7 and