-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-112213: Update _weakref module to use new AC feature #112250
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Much nicer than manually writing the Py_BEGIN/END_CRITICAL_SECTION
44e9f6a
to
55b69ae
Compare
@colesbury Lines 45 to 56 in 1a969b4
Or should it be handled from _PyDict_DelItemIf since it is only used for _PyDict_DelItemIf ?Line 74 in 1a969b4
Lines 2062 to 2069 in 1a969b4
If we decide not to handle from |
@corona10, we'll need to handle the thread-safety issues in |
Okay let's handle it with upcoming PR :) |
@critical_section
directive #112213