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.11] gh-77102: site: try utf-8 and locale encoding when reading .pth file (GH-117802) #117918

Closed
wants to merge 2 commits into from

Conversation

methane
Copy link
Member

@methane methane commented Apr 16, 2024

Co-authored-by: Inada Naoki [email protected]
(cherry picked from commit 8f81901)


📚 Documentation preview 📚: https://cpython-previews--117918.org.readthedocs.build/

…reading .pth file (pythonGH-117802)

(cherry picked from commit 6dc661b)

Co-authored-by: Inada Naoki <[email protected]>
(cherry picked from commit 8f81901)
@methane methane changed the title [3.11] gh-77102: site: try utf-8 and fallback to locale encoding when reading .pth file (GH-117802) [3.11] 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.

Wait, you cannot change Python 3.11: now it only accept security fixes! https://devguide.python.org/versions/

@bedevere-app
Copy link

bedevere-app bot commented Apr 16, 2024

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@methane methane closed this Apr 16, 2024
@methane methane deleted the backport-8f81901-3.11 branch April 16, 2024 09:42
@methane
Copy link
Member Author

methane commented Apr 16, 2024

Nice catch. I missed that 3.11 bugfix stopped this month.

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

Successfully merging this pull request may close these issues.

2 participants