> run_cframe(PyFrameObject *f, int exc, PyObject *retval) PyThreadState *ts = PyThreadState_GET(); StacklessのPyCFrameObjectへキャスト PyCFrameObject *cf = (PyCFrameObject*) f; Stackless拡張の.stからカレントTaskletを取得する PyTaskletObject *task = ts->st.current; int done = cf->i; ts->frame = f; if (retval == NULL || done) goto exit_run_cframe; if (cf->ob2 == NULL) cf->ob2 = PyTuple_New(0); 参照の切り離し Py_DECREF(retval)
