Uh oh!
There was an error while loading. Please reload this page.
gh-105922: Add PyImport_AddModuleRef() function - #105923
Conversation
erlend-aasland
left a comment
There was a problem hiding this comment.
Nice; I left some comments.
Too bad we cannot run the ref leak bots now; there's already a ref leak in test_import and test_peg_generator that has not been 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.
Uh oh!
There was an error while loading. Please reload this page.
631c02c to
bf2a756Comparevstinner
commented
Jun 19, 2023
I updated my PR:
|
erlend-aasland
left a comment
There was a problem hiding this comment.
Small typo nit. Otherwise looks good to me.
Uh oh!
There was an error while loading. Please reload this page.
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).
vstinner
commented
Jun 20, 2023
I fixed the typo: similar than => similar to. |
22c5f8c to
f3a223dCompare
PyImport_AddModuleObject().
PyImport_AddModuleRef(name).
📚 Documentation preview 📚: https://cpython-previews--105923.org.readthedocs.build/