Lines Matching defs:globals
1423 PythonDictionary globals(PyInitialValue::Empty);
1425 if (Error error = globals.SetItem("__builtins__", builtins))
1428 PyRun_String(script, Py_file_input, globals.get(), globals.get());
1432 auto f = As<PythonCallable>(globals.GetItem("main"));
1442 const PythonDictionary &globals,
1444 if (!globals.IsValid() || !locals.IsValid())
1458 PyObject *result = PyEval_EvalCode(code, globals.get(), locals.get());
1468 const PythonDictionary &globals,
1470 if (!globals.IsValid() || !locals.IsValid())
1473 globals.get(), locals.get());