Lines Matching defs:local
440 which determines whether a name is local, global, or free. In addition,
441 it determines which local variables are cell variables; they provide
451 is treated as a local.
461 are used to determine if non-local variables are free or implicit globals.
464 the local analysis, it analyzes each of its child blocks using an
467 The children update the free variable set. If a local variable is added to
476 local: set of all symbol names local to the current scope
477 bound: set of all symbol names local to a containing function scope
497 global. A name that was global can be changed to local.
502 PyObject *bound, PyObject *local, PyObject *free,
538 if (PySet_Add(local, name) < 0)
574 That's safe because no name can be free and local in the same scope.
670 the class that has the same name as a local
742 PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL;
748 local = PySet_New(NULL); /* collect new names bound in block */
749 if (!local)
799 bound, local, free, global))
807 temp = PyNumber_InPlaceOr(newbound, local);
858 /* Check if any local variables must be converted to cell variables */
875 Py_XDECREF(local);