Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dcompile.c138 PyFutureFeatures *c_future; /* pointer to module's __future__ */ member
272 c.c_future = PyFuture_FromAST(mod, filename); in PyAST_Compile()
273 if (c.c_future == NULL) in PyAST_Compile()
279 merged = c.c_future->ff_features | flags->cf_flags; in PyAST_Compile()
280 c.c_future->ff_features = merged; in PyAST_Compile()
285 c.c_st = PySymtable_Build(mod, filename, c.c_future); in PyAST_Compile()
320 if (c->c_future) in compiler_free()
321 PyObject_Free(c->c_future); in compiler_free()
2000 if (s->lineno > c->c_future->ff_lineno && s->v.ImportFrom.module && in compiler_from_import()
/external/python/cpython3/Python/
Dcompile.c154 PyFutureFeatures *c_future; /* pointer to module's __future__ */ member
324 c.c_future = PyFuture_FromASTObject(mod, filename); in PyAST_CompileObject()
325 if (c.c_future == NULL) in PyAST_CompileObject()
331 merged = c.c_future->ff_features | flags->cf_flags; in PyAST_CompileObject()
332 c.c_future->ff_features = merged; in PyAST_CompileObject()
342 c.c_st = PySymtable_BuildObject(mod, filename, c.c_future); in PyAST_CompileObject()
392 if (c->c_future) in compiler_free()
393 PyObject_Free(c->c_future); in compiler_free()
1744 if (c->c_future->ff_features & CO_FUTURE_ANNOTATIONS) { in compiler_visit_argannotation()
2869 if (s->lineno > c->c_future->ff_lineno && s->v.ImportFrom.module && in compiler_from_import()
[all …]