Home
last modified time | relevance | path

Searched refs:bimod (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Python/
Dpylifecycle.c777 PyObject *bimod = _PyBuiltin_Init(); in _Py_InitializeCore_impl() local
778 if (bimod == NULL) in _Py_InitializeCore_impl()
780 _PyImport_FixupBuiltin(bimod, "builtins", modules); in _Py_InitializeCore_impl()
781 interp->builtins = PyModule_GetDict(bimod); in _Py_InitializeCore_impl()
787 _PyExc_Init(bimod); in _Py_InitializeCore_impl()
1358 PyObject *bimod, *sysmod; in new_interpreter() local
1424 bimod = _PyImport_FindBuiltin("builtins", modules); in new_interpreter()
1425 if (bimod != NULL) { in new_interpreter()
1426 interp->builtins = PyModule_GetDict(bimod); in new_interpreter()
1436 _PyExc_Init(bimod); in new_interpreter()
[all …]
/external/python/cpython2/Python/
Dpythonrun.c166 PyObject *bimod, *sysmod; in Py_InitializeEx() local
240 bimod = _PyBuiltin_Init(); in Py_InitializeEx()
241 if (bimod == NULL) in Py_InitializeEx()
243 interp->builtins = PyModule_GetDict(bimod); in Py_InitializeEx()
589 PyObject *bimod, *sysmod; in Py_NewInterpreter() local
611 bimod = _PyImport_FindExtension("__builtin__", "__builtin__"); in Py_NewInterpreter()
612 if (bimod != NULL) { in Py_NewInterpreter()
613 interp->builtins = PyModule_GetDict(bimod); in Py_NewInterpreter()
619 if (bimod != NULL && sysmod != NULL) { in Py_NewInterpreter()
721 PyObject *bimod = PyImport_ImportModule("__builtin__"); in initmain() local
[all …]