Searched refs:bimod (Results 1 – 2 of 2) sorted by relevance
166 PyObject *bimod, *sysmod; in Py_InitializeEx() local240 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() local611 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 …]
745 PyObject *bimod = _PyBuiltin_Init(interp); in pycore_init_builtins() local746 if (bimod == NULL) { in pycore_init_builtins()750 if (_PyImport_FixupBuiltin(bimod, "builtins", interp->modules) < 0) { in pycore_init_builtins()754 PyObject *builtins_dict = PyModule_GetDict(bimod); in pycore_init_builtins()761 PyStatus status = _PyBuiltins_AddExceptions(bimod); in pycore_init_builtins()770 Py_DECREF(bimod); in pycore_init_builtins()784 Py_XDECREF(bimod); in pycore_init_builtins()2053 PyObject *bimod = PyImport_ImportModule("builtins"); in add_main_module() local2054 if (bimod == NULL) { in add_main_module()2057 if (PyDict_SetItemString(d, "__builtins__", bimod) < 0) { in add_main_module()[all …]