-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-77102: site: try utf-8 and fallback to locale encoding when reading pth file #117802
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
Conversation
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 <songofacandy@gmail.com>
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)
Uh oh!
There was an error while loading. Please reload this page.