[Python-checkins] commit of r41743 - in python/trunk: Doc/ref/ref7.tex Misc/NEWS

Michael Hudson mwh at python.net
Sun Dec 18 20:02:24 CET 2005


Neal Norwitz <nnorwitz at gmail.com> writes:

> On 12/17/05, Reinhold Birkenfeld <reinhold-birkenfeld-nospam at wolke7.net> wrote:
>> neal.norwitz wrote:
>>
>> > +\keyword{finally} clause is executed.  If there is a saved exception,
>> > +it is re-raised at the end of the \keyword{finally} clause.
>> > +If the \keyword{finally} clause raises another exception or
>> >  executes a \keyword{return} or \keyword{break} statement, the saved
>> >  exception is lost.  A \keyword{continue} statement is illegal in the
>> >  \keyword{finally} clause.  (The reason is a problem with the current
>> [implementation].
>>
>> What's the status of this? Could this be addressed here, too?
>
> AFAIK, it's not related to any of these changes.  I think mwh and
> Armin know more about fixing that problem.  

I don't quite know why you think I'd know about this, but I can tell
you that I have little interest in 'fixing' it -- if you think about
what a 'continue' would do in a finally: block, you'll realise that
it's a pretty insane thing to do (or at least I did).

> IIRC, it requires changes to eval frame.

Maybe :)

Cheers,
mwh

-- 
  I sense much distrust in you.  Distrust leads to cynicism, cynicism
  leads to bitterness, bitterness leads to the Awareness Of True
  Reality which is referred to by those-who-lack-enlightenment as
  "paranoia".  I approve.    -- David P. Murphy, alt.sysadmin.recovery


More information about the Python-checkins mailing list