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-118789: Restore hidden_PyWeakref_ClearRef (GH-118797)#118903

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
encukou merged 1 commit intopython:3.13frommiss-islington:backport-db5af7d-3.13
May 10, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedMay 10, 2024
edited by bedevere-appbot
Loading

_PyWeakref_ClearRef was previously exposed in the public C-API, although
it begins with an underscore and is not documented. It's used by a few
C-API extensions. There is currently no alternative public API that can
replace its use.

_PyWeakref_ClearWeakRefsExceptCallbacks is the only thread-safe way to
use _PyWeakref_ClearRef in the free-threaded build. This exposes the C
symbol, but does not make the API public.
(cherry picked from commitdb5af7d)

Co-authored-by: Sam Grosscolesbury@gmail.com

_PyWeakref_ClearRef was previously exposed in the public C-API, althoughit begins with an underscore and is not documented. It's used by a fewC-API extensions. There is currently no alternative public API that canreplace its use._PyWeakref_ClearWeakRefsExceptCallbacks is the only thread-safe way touse _PyWeakref_ClearRef in the free-threaded build. This exposes the Csymbol, but does not make the API public.(cherry picked from commitdb5af7d)Co-authored-by: Sam Gross <colesbury@gmail.com>
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
@miss-islington@encukou@colesbury

[8]ページ先頭

©2009-2025 Movatter.jp