Skip to content

Make getpath.c easier to follow. - #28909

Closed
ericsnowcurrently wants to merge 9 commits into
python:mainfrom
ericsnowcurrently:getpath-cleanup
Closed

ericsnowcurrently wants to merge 9 commits into
python:mainfrom
ericsnowcurrently:getpath-cleanup

Conversation

@ericsnowcurrently

Copy link
Copy Markdown
Member

This change helps make getpath.c more understandable and easier to modify. It involves 3 changes:

  • rename some variables/functions
  • calculate stdlib_dir separately
  • track information about various filenames, especially stdlib_dir

I've avoided changing any behavior or exposing internal data that wasn't already. I'm saving that for a follow-up PR.

@ericsnowcurrently

Copy link
Copy Markdown
Member Author

Given @zooba is working on #29041, I'm closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants