Searched refs:gi_frame (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Objects/ |
D | genobject.c | 13 Py_VISIT((PyObject *)gen->gi_frame); in gen_traverse() 30 if (gen->gi_frame != NULL && gen->gi_frame->f_stacktop != NULL) { in gen_dealloc() 38 Py_CLEAR(gen->gi_frame); in gen_dealloc() 48 PyFrameObject *f = gen->gi_frame; in gen_send_ex() 109 gen->gi_frame = NULL; in gen_send_ex() 157 if (gen->gi_frame == NULL || gen->gi_frame->f_stacktop == NULL) in gen_del() 318 {"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), RO}, 390 gen->gi_frame = f; in PyGen_New() 403 PyFrameObject *f = gen->gi_frame; in PyGen_NeedsFinalizing()
|
/external/python/cpython3/Objects/ |
D | genobject.c | 34 Py_VISIT((PyObject *)gen->gi_frame); in gen_traverse() 50 if (gen->gi_frame == NULL || gen->gi_frame->f_stacktop == NULL) { in _PyGen_Finalize() 82 gen->gi_frame->f_lasti == -1) in _PyGen_Finalize() 125 if (gen->gi_frame != NULL) { in gen_dealloc() 126 gen->gi_frame->f_gen = NULL; in gen_dealloc() 127 Py_CLEAR(gen->gi_frame); in gen_dealloc() 143 PyFrameObject *f = gen->gi_frame; in gen_send_ex() 270 gen->gi_frame->f_gen = NULL; in gen_send_ex() 271 gen->gi_frame = NULL; in gen_send_ex() 327 PyFrameObject *f = gen->gi_frame; in _PyGen_yf() [all …]
|
/external/python/cpython3/Lib/asyncio/ |
D | coroutines.py | 71 def gi_frame(self): member in CoroWrapper 72 return self.gen.gi_frame 240 if hasattr(coro, 'gi_frame') and coro.gi_frame: 241 coro_frame = coro.gi_frame
|
D | base_tasks.py | 32 f = task._coro.gi_frame
|
/external/python/cpython3/Lib/ |
D | types.py | 224 def gi_frame(self): member in _GeneratorWrapper 225 return self.__wrapped.gi_frame 233 cr_frame = gi_frame
|
D | inspect.py | 1669 if generator.gi_frame is None: 1671 if generator.gi_frame.f_lasti == -1: 1688 return generator.gi_frame.f_locals
|
/external/python/cpython2/Include/ |
D | genobject.h | 17 struct _frame *gi_frame; member
|
/external/python/cpython3/Lib/test/ |
D | test_frame.py | 60 gen.gi_frame.clear()
|
D | test_types.py | 1488 gen.gi_frame = object() 1492 self.assertIs(wrapper.gi_frame, gen.gi_frame) 1496 self.assertIs(wrapper.cr_frame, gen.gi_frame)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_tasks.py | 2256 self.assertIsInstance(gen.gi_frame, types.FrameType) 2264 self.assertIsNone(gen.gi_frame) 2382 del coro.gi_frame.f_locals['future']
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 97 | | gi_frame | frame object or possibly | |
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.5.rst | 536 :attr:`gi_frame` attribute of a generator was always a frame object. It's now 537 possible for :attr:`gi_frame` to be ``None`` once the generator has been 2237 * Previously, the :attr:`gi_frame` attribute of a generator was always a frame 2239 it's now possible for :attr:`gi_frame` to be ``None``.
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.5.rst | 537 :attr:`gi_frame` attribute of a generator was always a frame object. It's now 538 possible for :attr:`gi_frame` to be ``None`` once the generator has been 2238 * Previously, the :attr:`gi_frame` attribute of a generator was always a frame 2240 it's now possible for :attr:`gi_frame` to be ``None``.
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 204 | | gi_frame | frame |
|