[Python-Dev] 2.4 & 2.5 beta 3 crash
Neal Norwitz
nnorwitz at gmail.com
Fri Aug 18 09:29:00 CEST 2006
I did something similar to what Andrew suggested.
http://python.org/sf/1542451
Could everyone interested take a look and offer more test cases?
n
--
On 8/17/06, A.M. Kuchling <amk at amk.ca> wrote:
> 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
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/nnorwitz%40gmail.com
>
More information about the Python-Dev
mailing list