Skip to content
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

[3.12] gh-77102: site: try utf-8 and locale encoding when reading .pth file (GH-117802) #117917

Merged
merged 2 commits into from Apr 16, 2024

Conversation

methane
Copy link
Member

@methane methane commented Apr 16, 2024

…g when reading .pth file (pythonGH-117802)

(cherry picked from commit 6dc661b)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
@methane methane changed the title [3.12] gh-77102: site: try utf-8 and fallback to locale encoding when reading .pth file (GH-117802) [3.12] gh-77102: site: try utf-8 and locale encoding when reading .pth file (GH-117802) Apr 16, 2024
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, straightforward backport.

@methane methane merged commit 2a58923 into python:3.12 Apr 16, 2024
29 checks passed
@methane methane deleted the backport-6dc661b-3.12 branch April 16, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants