Searched refs:gi_frame (Results 1 – 10 of 10) sorted by relevance
34 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 …]
71 def gi_frame(self): member in CoroWrapper72 return self.gen.gi_frame240 if hasattr(coro, 'gi_frame') and coro.gi_frame:241 coro_frame = coro.gi_frame
32 f = task._coro.gi_frame
229 def gi_frame(self): member in _GeneratorWrapper230 return self.__wrapped.gi_frame238 cr_frame = gi_frame
1795 if generator.gi_frame is None:1797 if generator.gi_frame.f_lasti == -1:1814 return generator.gi_frame.f_locals
61 gen.gi_frame.clear()
1870 gen.gi_frame = object()1874 self.assertIs(wrapper.gi_frame, gen.gi_frame)1878 self.assertIs(wrapper.cr_frame, gen.gi_frame)
2312 self.assertIsInstance(gen.gi_frame, types.FrameType)2320 self.assertIsNone(gen.gi_frame)2438 del coro.gi_frame.f_locals['future']
537 :attr:`gi_frame` attribute of a generator was always a frame object. It's now538 possible for :attr:`gi_frame` to be ``None`` once the generator has been2238 * Previously, the :attr:`gi_frame` attribute of a generator was always a frame2240 it's now possible for :attr:`gi_frame` to be ``None``.
206 | | gi_frame | frame |