[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pypy-dev
Subject:    Re: [pypy-dev] question on rpython stack reconstruction feature
From:       Armin Rigo <arigo () tunes ! org>
Date:       2009-05-31 15:31:14
Message-ID: 20090531153114.GA3087 () code0 ! codespeak ! net
[Download RAW message or body]

Hi Alan,

On Sat, May 30, 2009 at 02:15:06PM -0700, alan yung wrote:
>     raise UnwindException()

All you're archieving this way is confuse the system (and me).  However,
I think I get the idea.  You want to interrupt the current thread
completely, in the idea that later it can be restarted by your resume()
function.  You should not do that by raising UnwindException; just raise
another exception you define locally.  Of course you must then also
catch it somewhere.


A bientot,

Armin.
_______________________________________________
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic