Searched refs:CO_GENERATOR (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Lib/compiler/ |
D | consts.py | 18 CO_GENERATOR = 0x0020 variable
|
D | pycodegen.py | 13 CO_NESTED, CO_GENERATOR, CO_FUTURE_DIVISION, 1422 self.graph.setFlag(CO_GENERATOR) 1437 self.graph.setFlag(CO_GENERATOR)
|
/external/python/cpython2/Include/ |
D | code.h | 38 #define CO_GENERATOR 0x0020 macro
|
/external/python/cpython3/Include/cpython/ |
D | code.h | 72 #define CO_GENERATOR 0x0020 macro
|
/external/python/cpython3/Lib/ |
D | bdb.py | 6 from inspect import CO_GENERATOR, CO_COROUTINE, CO_ASYNC_GENERATOR 10 GENERATOR_AND_COROUTINE_FLAGS = CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR
|
D | inspect.py | 306 return _has_code_flag(obj, CO_GENERATOR)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b3.rst | 38 use CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def'
|
/external/python/cpython2/Lib/ |
D | inspect.py | 46 CO_NESTED, CO_GENERATOR, CO_NOFREE = 0x10, 0x20, 0x40 variable 161 object.func_code.co_flags & CO_GENERATOR)
|
/external/python/cpython3/Lib/test/ |
D | test_coroutines.py | 516 self.assertFalse(bool(foo.__code__.co_flags & inspect.CO_GENERATOR)) 518 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
|
/external/python/cpython3/Python/ |
D | ceval.c | 5025 …assert (((PyCodeObject *)con->fc_code)->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERAT… in make_coro() 5062 …if (((PyCodeObject *)con->fc_code)->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR))… in _PyEval_Vector()
|
D | compile.c | 6840 flags |= CO_GENERATOR; in compute_code_flags() 7035 if (flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) { in insert_generator_prefix()
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 1449 .. data:: CO_GENERATOR
|
/external/python/cpython2/Python/ |
D | compile.c | 3779 flags |= CO_GENERATOR; in compute_code_flags()
|
D | ceval.c | 3592 if (co->co_flags & CO_GENERATOR) { in PyEval_EvalCodeEx()
|