gh-105922: Add PyImport_AddModuleRef() function (#105923)
* Add tests on PyImport_AddModuleRef(), PyImport_AddModule() and PyImport_AddModuleObject(). * pythonrun.c: Replace Py_XNewRef(PyImport_AddModule(name)) with PyImport_AddModuleRef(name).
V
Victor Stinner committed
03f1a132eeb34c738812161947ef171b21d58c25
Parent: 7f97c8e
Committed by GitHub <noreply@github.com>
on 6/20/2023, 6:48:14 AM