Home
last modified time | relevance | path

Searched refs:PyCF_ALLOW_TOP_LEVEL_AWAIT (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Include/cpython/
H A Dcompile.h20 #define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000 macro
22 #define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
/third_party/python/Lib/asyncio/
H A D__main__.py18 self.compile.compiler.flags |= ast.PyCF_ALLOW_TOP_LEVEL_AWAIT
/third_party/python/Lib/test/
H A Dtest_builtin.py389 flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)
402 Make sure it compiles only with the PyCF_ALLOW_TOP_LEVEL_AWAIT flag
439 flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)
490 flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)
497 With the PyCF_ALLOW_TOP_LEVEL_AWAIT flag added in 3.8, we want to
506 co = compile(code, '?', 'exec', flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)
/third_party/python/Python/
H A Dcompile.c129 (c->c_flags->cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT) \
H A DPython-ast.c11914 if (PyModule_AddIntMacro(m, PyCF_ALLOW_TOP_LEVEL_AWAIT) < 0) { in astmodule_exec()

Completed in 32 milliseconds