You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's interesting that we no longer use the default value of the "PythonPath" key itself. The old implementation in C used to include it when the skipcore argument was false, which was the case if calculate->home was NULL in the old calculate_module_search_path(). In other words, the default path from the registry was used as a fallback if the home landmark wasn't able to be found to set the prefix path.
@eryksun This will have been my oversight while doing the translation into Python. That said, I don't like that particular behaviour (any Python we install will locate its home already; another copy shouldn't rely on our install for a stdlib), so I'm happy to leave it out until someone shows a scenario that wouldn't be better off resolved in another way.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes the issue https://bugs.python.org/issue46297. Regression introduced in the 3.11 branch with commit 99fcf15 on Dec 3, 2021.
https://bugs.python.org/issue46297