Skip to content

gh-127196: Fix crash in _interpreters, when shared had invalid encodings#127220

Merged
sobolevn merged 2 commits into
python:mainfrom
sobolevn:issue-127196
Jan 9, 2025
Merged

gh-127196: Fix crash in _interpreters, when shared had invalid encodings#127220
sobolevn merged 2 commits into
python:mainfrom
sobolevn:issue-127196

Conversation

@sobolevn

@sobolevn sobolevn commented Nov 24, 2024

Copy link
Copy Markdown
Member

@ZeroIntensity ZeroIntensity 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.

Yup, this was the fix I was thinking of. LGTM.

@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.

_run_in_interpreter() fix LGTM, and tests cover the modified code path.

@sobolevn

Copy link
Copy Markdown
Member Author

Thank you! I will wait for @ericsnowcurrently's review, because this is an important part of the project.

@ericsnowcurrently ericsnowcurrently 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

Sorry for the long delay!

@sobolevn sobolevn enabled auto-merge (squash) January 9, 2025 19:28
@sobolevn sobolevn merged commit 087bb48 into python:main Jan 9, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 9, 2025
…lid encodings (pythonGH-127220)

(cherry picked from commit 087bb48)

Co-authored-by: sobolevn <mail@sobolevn.me>
@bedevere-app

bedevere-app Bot commented Jan 9, 2025

Copy link
Copy Markdown

GH-128689 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jan 9, 2025
sobolevn added a commit that referenced this pull request Jan 9, 2025
…alid encodings (GH-127220) (#128689)

gh-127196: Fix crash in `_interpreters`, when `shared` had invalid encodings (GH-127220)
(cherry picked from commit 087bb48)

Co-authored-by: sobolevn <mail@sobolevn.me>
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.

4 participants