Skip to content

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

Merged
methane merged 2 commits into
python:3.12from
methane:backport-6dc661b-3.12
Apr 16, 2024
Merged

methane merged 2 commits into
python:3.12from
methane:backport-6dc661b-3.12

Conversation

@methane

@methane methane commented Apr 16, 2024 •

Copy link
Copy Markdown
Member
…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) 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.

LGTM, straightforward backport.

@methane
methane merged commit 2a58923 into python:3.12 Apr 16, 2024
@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

2 participants