On Thu, Jul 7, 2011 at 10:10 PM, Hussain Bohra
<[email protected]> wrote:
> Hi Christian,
>
> Thanks for your feedback.
>
> Could you kindly let us know when you are done with the changes, so that we
> can complete the existing tasks that are dependent on this fix.
Can't you work around it? Like check if a frame is a cframe and skip
it, if it is the case? I haven't looked at the traceback generation
in detail, but I imagine that something along the following lines
would work..
lastTasklet = stackless.current
thisTasklet = lastTasklet.next
while True:
thisFrame = thisTasklet.frame
while thisFrame is not None:
if not isinstance(thisFrame, stackless.cframe):
# Do traceback related stuff.
thisFrame = thisFrame.f_back
thisTasklet = thisTasklet.next
if lastTasklet is thisTasklet:
break
Cheers,
Richard.
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless