Skip to content

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

Closed
methane wants to merge 2 commits into
python:3.11from
methane:backport-8f81901-3.11
Closed

methane wants to merge 2 commits into
python:3.11from
methane:backport-8f81901-3.11

Conversation

@methane

@methane methane commented Apr 16, 2024 •

Copy link
Copy Markdown
Member

Co-authored-by: Inada Naoki songofacandy@gmail.com
(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 <songofacandy@gmail.com>
(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) Apr 16, 2024

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

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

bedevere-app Bot commented Apr 16, 2024

Copy link
Copy Markdown

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

methane commented Apr 16, 2024

Copy link
Copy Markdown
Member Author

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

2 participants