Home
last modified time | relevance | path

Searched refs:gi_frame (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Objects/
Dgenobject.c13 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/
Dgenobject.c31 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/
Dcoroutines.py70 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
Dbase_tasks.py29 f = task._coro.gi_frame
/external/python/cpython3/Lib/
Dtypes.py217 def gi_frame(self): member in _GeneratorWrapper
218 return self.__wrapped.gi_frame
226 cr_frame = gi_frame
Dinspect.py1630 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/
Dgenobject.h17 struct _frame *gi_frame; member
/external/python/cpython3/Lib/test/
Dtest_frame.py60 gen.gi_frame.clear()
Dtest_types.py1459 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/
Dtest_tasks.py1864 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/
Dinspect.rst97 | | gi_frame | frame object or possibly | |
/external/python/cpython2/Doc/whatsnew/
D2.5.rst536 :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/
D2.5.rst537 :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/
Dinspect.rst195 | | gi_frame | frame |