Searched refs:_ast (Results 1 – 12 of 12) sorted by relevance
/third_party/python/Lib/test/ |
D | test_compile.py | 6 import _ast 442 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 443 self.assertTrue(type(ast) == _ast.Module) 450 co1 = compile('print(1)', '<string>', 'exec', _ast.PyCF_ONLY_AST) 454 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 457 ast = _ast.Module() 458 ast.body = [_ast.BoolOp()]
|
D | test_ast.py | 2181 import _ast as ast1 2184 import _ast as ast2 2213 import _ast 2214 self.assertIs(_ast, lazy_mod)
|
D | test_sys.py | 1490 import _ast 1491 check(_ast.AST(), size('P'))
|
/third_party/python/Lib/dbm/ |
D | dumb.py | 24 import ast as _ast namespace 105 key, pos_and_siz_pair = _ast.literal_eval(line)
|
/third_party/python/Modules/ |
D | config.c.in | 45 {"_ast", PyInit__ast},
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a1.rst | 272 The ``_ast`` module uses again a global state. Using a module state per 275 import, whereas Python expected that ``import _ast`` always return a fully 276 initialized ``_ast`` module. 1657 Fix a crash in the ``_ast`` module: it can no longer be loaded more than
|
D | 3.9.0a5.rst | 375 "_ast". Added docstrings for dummy AST node classes and deprecated
|
/third_party/python/Doc/library/ |
D | ast.rst | 48 :ref:`below <abstract-grammar>`. They are defined in the :mod:`_ast` C 2157 .. _ast-compiler-flags: 2185 .. _ast-cli:
|
/third_party/python/Lib/ |
D | ast.py | 28 from _ast import *
|
/third_party/python/Doc/whatsnew/ |
D | 2.5.rst | 2105 :func:`compile` built-in and specifying ``_ast.PyCF_ONLY_AST`` as the value of 2108 from _ast import PyCF_ONLY_AST
|
D | 3.2.rst | 1510 ValueError: malformed node or string: <_ast.Call object at 0x101739a10>
|
/third_party/python/Misc/ |
D | HISTORY | 17327 - Removed the compiler package. Use of the _ast module and (an 18585 to Python code; an _ast module was added.
|