for what are for/while else clauses

Michele Simionato mis6 at pitt.edu
Sat Nov 15 05:11:00 EST 2003


Erik Max Francis <max at alcyone.com> wrote in message news:<3FB5D88B.6FEA580B at alcyone.com>...
> I do think it is highly ironic that a unified try...except...finally
> construct was removed because it was allegedly not intuitive enough, but
> for...else, while...else, and even try...except...else (!) stayed with
> no such complaint.

It is strange that I do feel try...except...else very natural and I use
the construct all the time... mah!

My complaint is only against else in while and for.

       Michele




More information about the Python-list mailing list