Home
last modified time | relevance | path

Searched refs:PyCF_ONLY_AST (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython2/Demo/parser/
Dtest_unparse.py83 ast1 = compile(code1, filename, "exec", ast.PyCF_ONLY_AST)
87 ast2 = compile(code2, filename, "exec", ast.PyCF_ONLY_AST)
Dunparse.py574 tree = compile(source, filename, "exec", ast.PyCF_ONLY_AST)
/external/python/cpython3/Lib/test/test_tools/
Dtest_unparse.py127 ast1 = compile(code1, filename, "exec", ast.PyCF_ONLY_AST)
131 ast2 = compile(code2, filename, "exec", ast.PyCF_ONLY_AST)
/external/python/cpython3/Include/
Dcompile.h23 #define PyCF_ONLY_AST 0x0400 macro
/external/python/cpython2/Lib/test/
Dtest_ast.py219 ast_tree = compile(i, "?", kind, ast.PyCF_ONLY_AST)
390 b = compile('foo(1 + 1)', '<unknown>', 'exec', ast.PyCF_ONLY_AST)
Dtest_compile.py542 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST)
550 co1 = compile('print 1', '<string>', 'exec', _ast.PyCF_ONLY_AST)
/external/python/cpython2/Include/
Dpythonrun.h16 #define PyCF_ONLY_AST 0x0400 macro
/external/python/cpython3/Python/
Dbltinmodule.c736 if (feature_version >= 0 && (flags & PyCF_ONLY_AST)) { in builtin_compile_impl()
741 … ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_DONT_IMPLY_DEDENT | PyCF_ONLY_AST | PyCF_TYPE_COMMENTS)) in builtin_compile_impl()
766 if (!(flags & PyCF_ONLY_AST)) { in builtin_compile_impl()
775 if (flags & PyCF_ONLY_AST) in builtin_compile_impl()
787 if (flags & PyCF_ONLY_AST) { in builtin_compile_impl()
Dpythonrun.c1209 if (flags && (flags->cf_flags & PyCF_ONLY_AST)) { in Py_CompileStringObject()
Dast.c4890 cf.cf_flags = PyCF_ONLY_AST; in fstring_compile_expr()
/external/python/cpython2/Lib/
Dast.py37 return compile(source, filename, mode, PyCF_ONLY_AST)
/external/python/cpython2/Doc/library/
Dast.rst25 An abstract syntax tree can be generated by passing :data:`ast.PyCF_ONLY_AST` as
130 filename, mode, ast.PyCF_ONLY_AST)``.
/external/python/cpython3/Lib/test/
Dtest_compile.py440 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST)
448 co1 = compile('print(1)', '<string>', 'exec', _ast.PyCF_ONLY_AST)
Dtest_ast.py295 ast_tree = compile(i, "?", kind, ast.PyCF_ONLY_AST)
622 b = compile('foo(1 + 1)', '<unknown>', 'exec', ast.PyCF_ONLY_AST)
/external/python/cpython3/Doc/library/
Dast.rst19 An abstract syntax tree can be generated by passing :data:`ast.PyCF_ONLY_AST` as
132 filename, mode, ast.PyCF_ONLY_AST)``.
/external/python/cpython3/Lib/
Dast.py37 flags = PyCF_ONLY_AST
/external/python/cpython2/Misc/NEWS.d/
D2.6a2.rst37 PyCF_ONLY_AST)``.
/external/python/cpython3/Tools/parser/
Dunparse.py672 tree = compile(source, filename, "exec", ast.PyCF_ONLY_AST)
/external/python/cpython2/Python/
Dbltinmodule.c492 ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_DONT_IMPLY_DEDENT | PyCF_ONLY_AST)) in builtin_compile()
520 if (supplied_flags & PyCF_ONLY_AST) { in builtin_compile()
Dpythonrun.c1437 if (flags && (flags->cf_flags & PyCF_ONLY_AST)) { in Py_CompileStringFlags()
DPython-ast.c6768 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) in init_ast()
/external/python/cpython3/Doc/c-api/
Dveryhigh.rst403 ``PyCF_ONLY_AST`` flag is set in *cf_flags*.
/external/python/cpython2/Doc/whatsnew/
D2.5.rst2104 :func:`compile` built-in and specifying ``_ast.PyCF_ONLY_AST`` as the value of
2107 from _ast import PyCF_ONLY_AST
2111 """, "<string>", 'exec', PyCF_ONLY_AST)
/external/python/cpython3/Doc/whatsnew/
D2.5.rst2105 :func:`compile` built-in and specifying ``_ast.PyCF_ONLY_AST`` as the value of
2108 from _ast import PyCF_ONLY_AST
2112 """, "<string>", 'exec', PyCF_ONLY_AST)
D3.8.rst1997 by default, and is used if and only if ``PyCF_ONLY_AST`` flag is set in

12