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-105922: Add PyImport_AddModuleRef() function#105923
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
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.
Nice; I left some comments.
Too bad we cannot run the ref leak bots now; there's already a ref leak intest_import
andtest_peg_generator
that has not been resolved :(
Uh oh!
There was an error while loading.Please reload this page.
Misc/NEWS.d/next/C API/2023-06-19-20-02-16.gh-issue-105922.o4T6wO.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
631c02c
tobf2a756
CompareI updated my PR:
|
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.
Small typo nit. Otherwise looks good to me.
Uh oh!
There was an error while loading.Please reload this page.
Misc/NEWS.d/next/C API/2023-06-19-20-02-16.gh-issue-105922.o4T6wO.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
* Add tests on PyImport_AddModuleRef(), PyImport_AddModule() and PyImport_AddModuleObject().* pythonrun.c: Replace Py_XNewRef(PyImport_AddModule(name)) with PyImport_AddModuleRef(name).
I fixed the typo: similar than => similar to. |
22c5f8c
tof3a223d
Compare
Uh oh!
There was an error while loading.Please reload this page.
PyImport_AddModuleObject().
PyImport_AddModuleRef(name).
📚 Documentation preview 📚:https://cpython-previews--105923.org.readthedocs.build/