Searched refs:PyCF_ALLOW_TOP_LEVEL_AWAIT (Results 1 – 12 of 12) sorted by relevance
32 #define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000 macro33 #define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
18 self.compile.compiler.flags |= ast.PyCF_ALLOW_TOP_LEVEL_AWAIT
89 ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would aggressively mark list comprehension
148 functions and ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` is set (like in the asyncio159 ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag is given. Patch by Batuhan Taskaya.
311 ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag, which allow to compile sources
389 flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)435 flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)486 flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)502 co = compile(code, '?', 'exec', flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT)
1771 .. data:: PyCF_ALLOW_TOP_LEVEL_AWAIT
307 ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable
1092 ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` was clashing with ``CO_FUTURE_DIVISION``.
688 ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag. With this new flag passed,
44 (c->c_flags->cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT) \
9644 if (PyModule_AddIntMacro(m, PyCF_ALLOW_TOP_LEVEL_AWAIT) < 0) { in astmodule_exec()