[Python-Dev] 2.4 & 2.5 beta 3 crash (original) (raw)
A.M. Kuchling amk at amk.ca
Fri Aug 18 02:26:17 CEST 2006
- Previous message: [Python-Dev] 2.4 & 2.5 beta 3 crash
- Next message: [Python-Dev] 2.4 & 2.5 beta 3 crash
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Aug 18, 2006 at 12:26:33AM +0200, Armin Rigo wrote:
Without more inspection, I'd say that this looks like it won't do the right thing about nested finally's, as in:
I guess it'll have to loop back up through the block stack:
for (j=i- 1; j>=0; j--) { switch (c->u->u_fblock[j].fb_type) { case FINALLY_TRY: raise error; case LOOP: j=0; /* Exit the loop */ break; default: break; } }
--amk
- Previous message: [Python-Dev] 2.4 & 2.5 beta 3 crash
- Next message: [Python-Dev] 2.4 & 2.5 beta 3 crash
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]