Searched refs:PyCF_ALLOW_TOP_LEVEL_AWAIT (Results 1 – 12 of 12) sorted by relevance
20 #define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000 macro21 #define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
18 self.compile.compiler.flags |= ast.PyCF_ALLOW_TOP_LEVEL_AWAIT
390 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)
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
480 ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would aggressively mark list comprehension
2165 .. data:: PyCF_ALLOW_TOP_LEVEL_AWAIT
350 ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable
1100 ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` was clashing with ``CO_FUTURE_DIVISION``.
689 ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag. With this new flag passed,
73 (c->c_flags->cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT) \
11607 if (PyModule_AddIntMacro(m, PyCF_ALLOW_TOP_LEVEL_AWAIT) < 0) { in astmodule_exec()