Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-105927: Deprecate PyWeakref_GetObject() function#106006
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Deprecate PyWeakref_GetObject() and PyWeakref_GET_OBJECT() functions.
cded796
to5753693
Compare_Py_COMP_DIAG_PUSH | ||
_Py_COMP_DIAG_IGNORE_DEPR_DECLS |
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.
I did not know these macros; TIL!
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.
It's very useful to write tests on deprecated APIs.
Why 3.15? I don't see any reason to use the minimum allowed deprecation period here. |
Borrowed references as bad: see the issue for the rationale. |
Uh oh!
There was an error while loading.Please reload this page.
Deprecate PyWeakref_GetObject() and PyWeakref_GET_OBJECT() functions.
📚 Documentation preview 📚:https://cpython-previews--106006.org.readthedocs.build/