Skip to content

Commit

Permalink
bpo-38234: read_pth_file() now returns PyStatus (GH-16338)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vstinner committed Sep 23, 2019
1 parent 9c42f8c commit 85ce0a7
Show file tree
Hide file tree
Showing 2 changed files with 243 additions and 155 deletions.
Loading

0 comments on commit 85ce0a7

Please sign in to comment.