-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-77102: site: try utf-8 and fallback to locale encoding when reading pth file #117802
Conversation
methane
commented
Apr 12, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: .pth files cannot contain folders with utf-8 names #77102
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Maybe document the change https://docs.python.org/dev/whatsnew/3.13.html#improved-modules for more visibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
GH-117917 is a backport of this pull request to the 3.12 branch. |
…g when reading .pth file (pythonGH-117802) (cherry picked from commit 6dc661b) Co-authored-by: Inada Naoki <[email protected]>
GH-117918 is a backport of this pull request to the 3.11 branch. |
GH-117917 is a backport of this pull request to the 3.12 branch. |
GH-117918 is a backport of this pull request to the 3.11 branch. |
…reading .pth file (python#117802)