Home
last modified time | relevance | path

Searched refs:PyImport_Inittab (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Python/
Dimport.c38 struct _inittab *PyImport_Inittab = _PyImport_Inittab; variable
259 PyImport_Inittab = _PyImport_Inittab; in _PyImport_Fini2()
916 for (i = 0; PyImport_Inittab[i].name != NULL; i++) { in is_builtin()
917 if (_PyUnicode_EqualToASCIIString(name, PyImport_Inittab[i].name)) { in is_builtin()
918 if (PyImport_Inittab[i].initfunc == NULL) in is_builtin()
1005 for (struct _inittab *p = PyImport_Inittab; p->name != NULL; p++) { in create_builtin()
2250 for (i = 0; PyImport_Inittab[i].name != NULL; i++) in PyImport_ExtendInittab()
2271 if (inittab_copy != PyImport_Inittab) { in PyImport_ExtendInittab()
2272 memcpy(p, PyImport_Inittab, (i+1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()
2275 PyImport_Inittab = inittab_copy = p; in PyImport_ExtendInittab()
Dsysmodule.c2041 for (Py_ssize_t i = 0; PyImport_Inittab[i].name != NULL; i++) { in list_builtin_module_names()
2042 PyObject *name = PyUnicode_FromString(PyImport_Inittab[i].name); in list_builtin_module_names()
/third_party/python/Include/cpython/
Dimport.h31 PyAPI_DATA(struct _inittab *) PyImport_Inittab;
/third_party/python/Misc/NEWS.d/
D3.10.0b4.rst425 :c:func:`Py_RunMain` now resets :c:data:`PyImport_Inittab` to its initial
/third_party/python/Doc/extending/
Dextending.rst382 automatically unless there's an entry in the :c:data:`PyImport_Inittab` table.