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 | 31 Py_VISIT((PyObject *)gen->gi_frame); in gen_traverse() 47 if (gen->gi_frame == NULL || gen->gi_frame->f_stacktop == NULL) { in _PyGen_Finalize() 79 gen->gi_frame->f_lasti == -1) in _PyGen_Finalize() 137 if (gen->gi_frame != NULL) { in gen_dealloc() 138 gen->gi_frame->f_gen = NULL; in gen_dealloc() 139 Py_CLEAR(gen->gi_frame); in gen_dealloc() 155 PyFrameObject *f = gen->gi_frame; in gen_send_ex() 276 gen->gi_frame->f_gen = NULL; in gen_send_ex() 277 gen->gi_frame = NULL; in gen_send_ex() 333 PyFrameObject *f = gen->gi_frame; in _PyGen_yf() [all …]
|
/external/python/cpython3/Lib/asyncio/ |
D | coroutines.py | 70 def gi_frame(self): member in CoroWrapper 71 return self.gen.gi_frame 236 if hasattr(coro, 'gi_frame') and coro.gi_frame: 237 coro_frame = coro.gi_frame
|
D | base_tasks.py | 29 f = task._coro.gi_frame
|
/external/python/cpython3/Lib/ |
D | types.py | 217 def gi_frame(self): member in _GeneratorWrapper 218 return self.__wrapped.gi_frame 226 cr_frame = gi_frame
|
D | inspect.py | 1630 if generator.gi_frame is None: 1632 if generator.gi_frame.f_lasti == -1: 1649 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 | 1459 gen.gi_frame = object() 1463 self.assertIs(wrapper.gi_frame, gen.gi_frame) 1467 self.assertIs(wrapper.cr_frame, gen.gi_frame)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_tasks.py | 1864 self.assertIsInstance(gen.gi_frame, types.FrameType) 1872 self.assertIsNone(gen.gi_frame) 2004 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 | 195 | | gi_frame | frame |
|