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.13] GH-91636: Clear weakrefs created by finalizers. (GH-136401)#144214

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

Open
sergey-miryanov wants to merge1 commit intopython:3.13
base:3.13
Choose a base branch
Loading
fromsergey-miryanov:backport-b6b99bf-3.13

Conversation

@sergey-miryanov
Copy link
Contributor

@sergey-miryanovsergey-miryanov commentedJan 24, 2026
edited by bedevere-appbot
Loading

Weakrefs to unreachable garbage that are created during running of finalizers need to be cleared. This avoids exposing objects that havetp_clear called on them to Python-level code. (cherry picked from commitb6b99bf)

…H-136401)Weakrefs to unreachable garbage that are created during running offinalizers need to be cleared.  This avoids exposing objects thathave `tp_clear` called on them to Python-level code.(cherry picked from commitb6b99bf)Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
@gpshead
Copy link
Member

I think this needs re-applying to 3.14 if we're going to do it for 3.13. it was removed (likely temporarily) from 3.14 as a risk mitigation for 3.14.1 (see issue and prs)

sergey-miryanov reacted with thumbs up emoji

@sergey-miryanov
Copy link
ContributorAuthor

I understand. At least we have "working" PR for backporting if we decide so :)

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

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@sergey-miryanov@gpshead

[8]ページ先頭

©2009-2026 Movatter.jp