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.c161 PyFutureFeatures *c_future; /* pointer to module's __future__ */ member
341 c.c_future = PyFuture_FromASTObject(mod, filename); in PyAST_CompileObject()
342 if (c.c_future == NULL) in PyAST_CompileObject()
347 merged = c.c_future->ff_features | flags->cf_flags; in PyAST_CompileObject()
348 c.c_future->ff_features = merged; in PyAST_CompileObject()
363 c.c_st = PySymtable_BuildObject(mod, filename, c.c_future); in PyAST_CompileObject()
413 if (c->c_future) in compiler_free()
414 PyObject_Free(c->c_future); in compiler_free()
2031 if (c->c_future->ff_features & CO_FUTURE_ANNOTATIONS) { in compiler_visit_argannotation()
3289 if (s->lineno > c->c_future->ff_lineno && s->v.ImportFrom.module && in compiler_from_import()
[all …]