[pypy-dev] question on rpython stack reconstruction feature

Leonardo Santagada santagada at gmail.com
Thu May 28 23:12:39 CEST 2009

On May 28, 2009, at 5:10 PM, alan yung wrote:

> Hi,
> Thanks and sorry about the link.
> The right link is http://paste.pocoo.org/show/119296/ this.
> What I'm trying to do there is this:
> In the freeze() function, I want to stop executing the current  
> python function, and copy the (python) frame stack, and unroll the  
> python frame stack *and* interpreter level stack frame.
> In the resume() function, I want to continue executing the python  
> function copied in freeze() function and reconstruct interpreter  
> level stack using resume_state_create() and resume_state_invoke()  
> function.

> On Thu, May 28, 2009 at 12:57 PM, Armin Rigo <arigo at tunes.org> wrote:
> Hi,

> Sorry, your e-mail is hard to understand, probably because the link
> above seems to be wrong.  It just points to the list of bugs for the
> Supybot project.  Can you fix it and also explain a bit more what you
> are trying to achieve and why?  Thanks!

I think you forgot to answer why are you doing it?

I don't know much about stackless but this seems very similar to what  
stackless does on pypy (which has stackless at the rpython/interpreter  

Leonardo Santagada
santagada at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20090528/7fcae5b2/attachment.html>

More information about the Pypy-dev mailing list