-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Docs: PyModule_AddObjectRef should return -1 if value is NULL. #101944
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
Labels
Comments
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Jan 29, 2025
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Jan 29, 2025
I created a doc change to clarify the NULL case: PR gh-129433. |
vstinner
added a commit
that referenced
this issue
Feb 3, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Feb 3, 2025
…nGH-129433) (cherry picked from commit 04264a2) Co-authored-by: Victor Stinner <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Feb 3, 2025
…nGH-129433) (cherry picked from commit 04264a2) Co-authored-by: Victor Stinner <[email protected]>
This was referenced Feb 3, 2025
Documentation rephrased by change 04264a2. |
vstinner
added a commit
that referenced
this issue
Feb 3, 2025
vstinner
added a commit
that referenced
this issue
Feb 3, 2025
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Feb 7, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Documentation
If value is NULL, 'PyModule_AddObjectRef' should return -1, not NULL.
https://docs.python.org/3/c-api/module.html
Linked PRs
PyModule_AddObjectRef()
#101957PyModule_AddObjectRef
#129659The text was updated successfully, but these errors were encountered: