Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dgenobject.c51 if (gen->gi_running) { in gen_send_ex()
84 gen->gi_running = 1; in gen_send_ex()
86 gen->gi_running = 0; in gen_send_ex()
319 {"gi_running", T_INT, offsetof(PyGenObject, gi_running), RO},
393 gen->gi_running = 0; in PyGen_New()
/external/python/cpython3/Objects/
Dgenobject.c146 if (gen->gi_running) { in gen_send_ex()
206 gen->gi_running = 1; in gen_send_ex()
218 gen->gi_running = 0; in gen_send_ex()
358 gen->gi_running = 1; in gen_close()
360 gen->gi_running = 0; in gen_close()
407 gen->gi_running = 1; in _gen_throw()
409 gen->gi_running = 0; in _gen_throw()
420 gen->gi_running = 1; in _gen_throw()
432 gen->gi_running = 0; in _gen_throw()
444 gen->gi_running = 1; in _gen_throw()
[all …]
/external/python/cpython3/Lib/asyncio/
Dcoroutines.py75 def gi_running(self): member in CoroWrapper
76 return self.gen.gi_running
220 return coro.gi_running
/external/python/cpython3/Lib/
Dtypes.py227 def gi_running(self): member in _GeneratorWrapper
228 return self.__wrapped.gi_running
234 cr_running = gi_running
Dinspect.py1667 if generator.gi_running:
/external/python/cpython2/Include/
Dgenobject.h20 int gi_running; member
/external/python/cpython3/Lib/test/
Dtest_types.py1487 gen.gi_running = object()
1491 self.assertIs(wrapper.gi_running, gen.gi_running)
1495 self.assertIs(wrapper.cr_running, gen.gi_running)
Dtest_yield_from.py948 self.assertTrue(g1.gi_running)
/external/python/cpython2/Doc/library/
Dinspect.rst102 | | gi_running | set to 1 when generator | |
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py2244 self.assertTrue(gen.gi_running)
2257 self.assertFalse(gen.gi_running)
/external/python/cpython3/Doc/library/
Dinspect.rst206 | | gi_running | is the generator running? |
/external/python/cpython3/Misc/
DHISTORY8003 yield from syntax, it needs to have its ``gi_running`` flag set to True.