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
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com