why no "do : until"?

Alex Martelli aleaxit at yahoo.com
Wed Jan 3 07:54:25 EST 2001


"Peter Hansen" <peter at engcorp.com> wrote in message
news:3A4F4B4D.ECD6B172 at engcorp.com...
    [snip]
> I can see your point (remarkable, given this thread, isn't it? :-).  I
> guess I consider the "block" to be everything except the code that allows
> entry into the block.  Within the block I might have multiple exit

So what about:
    try:
        <suite1>
    except something:
        <suite2>
and so on?  Would you like it better if the 'except' was indented?  It's
NOT, after all, 'code that allows entry' in the "block" (overall try/except
statement).


Alex






More information about the Python-list mailing list