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.c34 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/
Dcoroutines.py71 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
Dbase_tasks.py32 f = task._coro.gi_frame
/external/python/cpython3/Lib/
Dtypes.py224 def gi_frame(self): member in _GeneratorWrapper
225 return self.__wrapped.gi_frame
233 cr_frame = gi_frame
Dinspect.py1669 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/
Dgenobject.h17 struct _frame *gi_frame; member
/external/python/cpython3/Lib/test/
Dtest_frame.py60 gen.gi_frame.clear()
Dtest_types.py1488 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/
Dtest_tasks.py2256 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/
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.rst204 | | gi_frame | frame |