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 >
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4