On Sat, May 30, 2009 at 12:00 AM, Armin Rigo <arigo@tunes.org> wrote:
Hi Alan,

On Fri, May 29, 2009 at 08:23:52PM -0700, alan yung wrote:
> So, it seems like rstack.stack_unwind() function does not seems to work.

It seems you misunderstood what rstack.stack_unwind() does.  It flushes
the C stack, but it has no visible effect apart from reducing the
consumption of the C stack.

But in the freeze() function, I also cleared app level frames like following...

    while len(ec.framestack.items) > 1:
        ec.framestack.pop()

    stack_unwind()

In that case, I thought this should stop executing the (app-level) function, shouldn't it?


 


A bientot,

Armin.