Home
last modified time | relevance | path

Searched refs:c_future (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Python/
Dcompile.c221 PyFutureFeatures *c_future; /* pointer to module's __future__ */ member
426 c.c_future = _PyFuture_FromAST(mod, filename); in _PyAST_Compile()
427 if (c.c_future == NULL) in _PyAST_Compile()
432 merged = c.c_future->ff_features | flags->cf_flags; in _PyAST_Compile()
433 c.c_future->ff_features = merged; in _PyAST_Compile()
447 c.c_st = _PySymtable_Build(mod, filename, c.c_future); in _PyAST_Compile()
467 if (c->c_future) in compiler_free()
468 PyObject_Free(c->c_future); in compiler_free()
2162 if (c->c_future->ff_features & CO_FUTURE_ANNOTATIONS) { in compiler_visit_argannotation()
3404 if (s->lineno > c->c_future->ff_lineno && s->v.ImportFrom.module && in compiler_from_import()
[all …]