Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.12] gh-113993: For string interning, do not rely on (or assert) _Py_IsImmortal (GH-121358) (GH-121851)#124938

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@encukou
Copy link
Member

@encukouencukou commentedOct 3, 2024
edited by bedevere-appbot
Loading

Older stable ABI extensions are allowed to make immortal objects mortal. Instead, use_PyUnicode_STATE (interned andstatically_allocated).

(cherry picked from commit956270d)

Fixes:gh-124887

…rt) _Py_IsImmortal (pythonGH-121358) (pythonGH-121851)pythongh-113993: For string interning, do not rely on (or assert) _Py_IsImmortal (pythonGH-121358)Older stable ABI extensions are allowed to make immortal objects mortal.Instead, use `_PyUnicode_STATE` (`interned` and `statically_allocated`).(cherry picked from commit956270d)Co-authored-by: Petr Viktorin <encukou@gmail.com>
@encukou
Copy link
MemberAuthor

I missed this in the big backport. My apologies :(

@encukouencukou added the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelOct 3, 2024
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@encukou for commit3e07c20 🤖

If you want to schedule another build, you need to add the🔨 test-with-buildbots label again.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@encukou@bedevere-bot@miss-islington

[8]ページ先頭

©2009-2025 Movatter.jp