Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dgenobject.c34 Py_VISIT((PyObject *)gen->gi_frame); in gen_traverse()
50 if (gen->gi_frame == NULL || _PyFrameHasCompleted(gen->gi_frame)) { 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()
144 PyFrameObject *f = gen->gi_frame; in gen_send_ex2()
196 gen->gi_frame->f_valuestack[gen->gi_frame->f_stackdepth] = result; in gen_send_ex2()
197 gen->gi_frame->f_stackdepth++; in gen_send_ex2()
261 gen->gi_frame->f_gen = NULL; in gen_send_ex2()
[all …]
/third_party/python/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
/third_party/python/Lib/
Dtypes.py229 def gi_frame(self): member in _GeneratorWrapper
230 return self.__wrapped.gi_frame
238 cr_frame = gi_frame
Dinspect.py1795 if generator.gi_frame is None:
1797 if generator.gi_frame.f_lasti == -1:
1814 return generator.gi_frame.f_locals
/third_party/python/Lib/test/
Dtest_frame.py61 gen.gi_frame.clear()
Dtest_types.py1870 gen.gi_frame = object()
1874 self.assertIs(wrapper.gi_frame, gen.gi_frame)
1878 self.assertIs(wrapper.cr_frame, gen.gi_frame)
/third_party/python/Lib/test/test_asyncio/
Dtest_tasks.py2312 self.assertIsInstance(gen.gi_frame, types.FrameType)
2320 self.assertIsNone(gen.gi_frame)
2438 del coro.gi_frame.f_locals['future']
/third_party/python/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``.
/third_party/python/Doc/library/
Dinspect.rst206 | | gi_frame | frame |