Lines Matching defs:global
1889 PyObject *global, PyObject *dotted_path)
1903 if (candidate != global) {
1912 whichmodule(PyObject *global, PyObject *dotted_path)
1919 if (_PyObject_LookupAttr(global, &_Py_ID(__module__), &module_name) < 0) {
1925 the module of global. */
1942 if (_checkmodule(module_name, module, global, dotted_path) == 0) {
1963 if (_checkmodule(module_name, module, global, dotted_path) == 0) {
3770 /* Generate a normal global opcode if we are using a pickle
3788 both the module name and the global name using UTF-8. We do so
3821 "can't pickle global identifier '%S' using "
5995 PyObject *global = NULL;
6016 global = find_class(self, module_name, global_name);
6022 if (global == NULL)
6024 PDATA_PUSH(self->stack, global, -1);
6031 PyObject *global;
6045 global = find_class(self, module_name, global_name);
6048 if (global == NULL)
6050 PDATA_PUSH(self->stack, global, -1);
7011 function is used for loading any global (i.e., functions), not just
7038 PyObject *global;
7054 /* Check if the global (i.e., a function or a class) was renamed
7109 global = getattribute(module, global_name, self->proto >= 4);
7111 return global;