[Stackless] SystemError: error return without exception set
Jeff Senn
senn at maya.com
Tue Feb 24 18:31:27 CET 2004
On Feb 24, 2004, at 9:45 AM, Christian Tismer wrote:
>
> Autoscheduling is one topic on the upcoming Stackless
> sprint, Mar 10-14.
Cool. ...in the meantime...(ok so, I'm impatient...)
Can you confirm that this patch should at least make Richard's
hack work "correctly" again? (Or are there places where a "preempt"
will break something? I admit I haven't looked at all the places
this 'tempval' thing is used...)
Hm... maybe there should there be a matching DECREF after the
slp_schedule_task?
-Jas
---snip---
diff -c -r1.143 stacklessmodule.c
*** stacklessmodule.c 16 Feb 2004 18:07:09 -0000 1.143
--- stacklessmodule.c 24 Feb 2004 17:26:43 -0000
***************
*** 60,65 ****
--- 60,67 ----
return 0;
}
+ ts->st.tempval = Py_None;
+ Py_INCREF(Py_None);
if (slp_schedule_task(ts->st.current, ts->st.current->next))
return -1;
if (ts->st.tempval== NULL) return -1;
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list