-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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-105927: Refactor weakrefobject.c #105928
Conversation
vstinner
commented
Jun 19, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Rename proxy_checkref() to proxy_check_ref().
- proxy_check_ref() now checks the object, not the proxy.
- Most functions take PyObject* instead of PyWeakReference*.
- Remove redundant calls to PyWeakref_GET_OBJECT().
- Issue: C API: Add PyWeakref_GetRef() function #105927
* Rename proxy_checkref() to proxy_check_ref(). * proxy_check_ref() now checks the object, not the proxy. * Most functions take PyObject* instead of PyWeakReference*. * Remove redundant calls to PyWeakref_GET_OBJECT().
f7d1b12
to
d46932e
Compare
|