-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-133644: remove PyWeakref_GetObject
and PyWeakref_GET_OBJECT
#133657
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
base: main
Are you sure you want to change the base?
gh-133644: remove PyWeakref_GetObject
and PyWeakref_GET_OBJECT
#133657
Conversation
UPDATE: I excluded manually projects which refer to the functions without using them. I also excluded This change is a little bit scary: 30 projects in PyPI top 8,000 projects refer to these 2 functions:
|
Pillow only uses How does the list change if you exclude |
Oh correct, I modified my script to exclude
I modified the list to manually exclude projects which only refer to these functions without using them. I also used the updated script to exclude pythoncapi_compat.h which excludes Pillow. The number of impacts projects moved from 38 to 27, it's better! |
…ted-weakrefs-133644
📚 Documentation preview 📚: https://cpython-previews--133657.org.readthedocs.build/