Lines Matching defs:scope
261 /* Basic block exits scope (it ends with a return or raise) */
627 /* Return new dict containing names from src that match scope(s).
629 src is a symbol table dictionary. If the scope of a name matches
638 Py_ssize_t i = offset, scope, num_keys, key_i;
667 scope = (vi >> SCOPE_OFFSET) & SCOPE_MASK;
669 if (scope == scope_type || vi & flag) {
745 int scope, force_global = 0;
760 scope = _PyST_GetScope(parent->u_ste, mangled);
762 assert(scope != GLOBAL_IMPLICIT);
763 if (scope == GLOBAL_EXPLICIT)
909 - when entering a new scope
2228 int scope;
2232 scope = _PyST_GetScope(c->u->u_ste, name);
2233 if (scope == 0) {
2236 "unknown scope in unit %S (%R); "
2243 return scope;
2722 /* this block represents what we do in the new scope */
2776 /* leave the new scope */
4250 int op, scope;
4270 scope = _PyST_GetScope(c->u->u_ste, mangled);
4271 switch (scope) {
4292 /* scope can be 0 */
4297 assert(scope || PyUnicode_READ_CHAR(name, 0) == '_');
4808 /* Check whether the global scope has an import named
4810 scope stack every time this function is called, it will
4811 only check the global scope to determine whether something
5206 iteration variables don't leak into the current scope.