[Python-Dev] Chaining try statements: eltry?

Michael Hudson mwh at python.net
Fri Jul 8 14:01:16 CEST 2005


Ron Adam <rrr at ronadam.com> writes:

> Guido van Rossum wrote:
>
>> I even wonder if else-clauses on for/while were a good idea. (The one
>> on try is definitely a good idea since the use case is quite frequent
>> and only clumsily handled otherwise; the use cases for else on
>> for/while are less convincing IMO.)
>
>
> I'm +1 on removing the else from the loops myself.

... in Python 3000, I hope you meant to qualify that with.

Cheers,
mwh

-- 
  <foom> wait when was the earth created?
  <flophouse> just look at the expiration date
  <flophouse> it's on the bottom, under the ice cap
                                                -- from Twisted.Quotes


More information about the Python-Dev mailing list