Home
last modified time | relevance | path

Searched refs:PyCF_ALLOW_TOP_LEVEL_AWAIT (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Include/cpython/
Dcompile.h20 #define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000 macro
21 #define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
/third_party/python/Lib/asyncio/
D__main__.py18 self.compile.compiler.flags |= ast.PyCF_ALLOW_TOP_LEVEL_AWAIT
/third_party/python/Lib/test/
Dtest_builtin.py390 flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)
436 flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)
487 flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)
503 co = compile(code, '?', 'exec', flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)
/third_party/python/Misc/NEWS.d/
D3.9.0a5.rst148 functions and ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` is set (like in the asyncio
159 ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag is given. Patch by Batuhan Taskaya.
D3.8.0b1.rst311 ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag, which allow to compile sources
D3.10.0a1.rst480 ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would aggressively mark list comprehension
/third_party/python/Doc/library/
Dast.rst2165 .. data:: PyCF_ALLOW_TOP_LEVEL_AWAIT
Dfunctions.rst350 ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable
/third_party/python/Doc/whatsnew/
D3.9.rst1100 ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` was clashing with ``CO_FUTURE_DIVISION``.
D3.8.rst689 ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag. With this new flag passed,
/third_party/python/Python/
Dcompile.c73 (c->c_flags->cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT) \
DPython-ast.c11607 if (PyModule_AddIntMacro(m, PyCF_ALLOW_TOP_LEVEL_AWAIT) < 0) { in astmodule_exec()