Lines Matching refs:bimod
777 PyObject *bimod = _PyBuiltin_Init();
778 if (bimod == NULL)
780 _PyImport_FixupBuiltin(bimod, "builtins", modules);
781 interp->builtins = PyModule_GetDict(bimod);
787 _PyExc_Init(bimod);
1358 PyObject *bimod, *sysmod;
1424 bimod = _PyImport_FindBuiltin("builtins", modules);
1425 if (bimod != NULL) {
1426 interp->builtins = PyModule_GetDict(bimod);
1436 _PyExc_Init(bimod);
1438 if (bimod != NULL && sysmod != NULL) {
1575 PyObject *bimod = PyImport_ImportModule("builtins");
1576 if (bimod == NULL) {
1579 if (PyDict_SetItemString(d, "__builtins__", bimod) < 0) {
1582 Py_DECREF(bimod);
1825 PyObject *bimod = NULL;
1846 if (!(bimod = PyImport_ImportModule("builtins"))) {
1858 if (PyObject_SetAttrString(bimod, "open", wrapper) == -1) {
1996 Py_XDECREF(bimod);