Home
last modified time | relevance | path

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

/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/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dutil.py271 _ast.PyCF_ONLY_AST = 2 << 9
285 mako in baz not in mako""", '<unknown>', 'exec', _ast.PyCF_ONLY_AST)
D_ast_util.py84 return compile(expr, filename, mode, PyCF_ONLY_AST)
/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/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/cpython2/Python/
Dbltinmodule.c491 ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_DONT_IMPLY_DEDENT | PyCF_ONLY_AST)) in builtin_compile()
519 if (supplied_flags & PyCF_ONLY_AST) { in builtin_compile()
Dpythonrun.c1428 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/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/cpython2/Misc/
DNEWS10207 ``compile(..., PyCF_ONLY_AST)``.