Searched refs:PyCF_ONLY_AST (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Demo/parser/ |
D | test_unparse.py | 83 ast1 = compile(code1, filename, "exec", ast.PyCF_ONLY_AST) 87 ast2 = compile(code2, filename, "exec", ast.PyCF_ONLY_AST)
|
D | unparse.py | 574 tree = compile(source, filename, "exec", ast.PyCF_ONLY_AST)
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | util.py | 271 _ast.PyCF_ONLY_AST = 2 << 9 285 mako in baz not in mako""", '<unknown>', 'exec', _ast.PyCF_ONLY_AST)
|
D | _ast_util.py | 84 return compile(expr, filename, mode, PyCF_ONLY_AST)
|
/external/python/cpython2/Lib/test/ |
D | test_ast.py | 219 ast_tree = compile(i, "?", kind, ast.PyCF_ONLY_AST) 390 b = compile('foo(1 + 1)', '<unknown>', 'exec', ast.PyCF_ONLY_AST)
|
D | test_compile.py | 542 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/ |
D | pythonrun.h | 16 #define PyCF_ONLY_AST 0x0400 macro
|
/external/python/cpython2/Lib/ |
D | ast.py | 37 return compile(source, filename, mode, PyCF_ONLY_AST)
|
/external/python/cpython2/Doc/library/ |
D | ast.rst | 25 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/ |
D | bltinmodule.c | 491 ~(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()
|
D | pythonrun.c | 1428 if (flags && (flags->cf_flags & PyCF_ONLY_AST)) { in Py_CompileStringFlags()
|
D | Python-ast.c | 6768 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) in init_ast()
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.5.rst | 2104 :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/ |
D | NEWS | 10207 ``compile(..., PyCF_ONLY_AST)``.
|