[pypy-dev] question on rpython stack reconstruction feature

alan yung yung2.alan at gmail.com
Sat May 30 09:10:55 CEST 2009


On Sat, May 30, 2009 at 12:00 AM, Armin Rigo <arigo at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20090530/e1b60c97/attachment.html>


More information about the Pypy-dev mailing list