Commit 7f7cd89
bpo-38234: read_pth_file() now returns PyStatus (pythonGH-16338)
Refactor path configuration code:
* read_pth_file() now returns PyStatus to report errors, rather than
calling Py_FatalError().
* Move argv0_path and zip_path buffers out of PyCalculatePath
structures.
* On Windows, _PyPathConfig.home is now preferred over PyConfig.home.
(cherry picked from commit 85ce0a7)
Co-authored-by: Victor Stinner <[email protected]>1 parent 3f5409a commit 7f7cd89
2 files changed
Lines changed: 243 additions & 155 deletions
0 commit comments