Lines Matching defs:flags
493 /* Decide on scope of name, given flags.
501 analyze_name(PySTEntryObject *ste, PyObject *scopes, PyObject *name, long flags,
505 if (flags & DEF_GLOBAL) {
506 if (flags & DEF_NONLOCAL) {
519 if (flags & DEF_NONLOCAL) {
536 if (flags & DEF_BOUND) {
636 long scope, flags;
638 flags = PyLong_AS_LONG(v);
642 flags |= (scope << SCOPE_OFFSET);
643 v_new = PyLong_FromLong(flags);
675 long flags = PyLong_AS_LONG(v) | DEF_FREE_CLASS;
676 v_new = PyLong_FromLong(flags);
797 long flags = PyLong_AS_LONG(v);
798 if (!analyze_name(ste, scopes, name, flags,
1082 /* XXX need to update DEF_GLOBAL for other flags too;
2135 int start, PyCompilerFlags *flags)
2145 mod = _PyParser_ASTFromString(str, filename, start, flags, arena);
2155 future->ff_features |= flags->cf_flags;