[Python-Dev] Chaining try statements: eltry? (original) (raw)

Ron Adam rrr at ronadam.com
Fri Jul 8 20:22:29 CEST 2005


Thomas Lotze wrote:

Ron Adam <rrr at ronadam.com> wrote:

3. In a while loop, it's a value test, where the else block gets executed if the while condition evaluates as false, the while block may or may not execute. You still need a flag to test for that.

You're effectively arguing for do...while, right?

Not arguing anything. Do-whiles are a flow control issue rather than a flow testing issue. A differnt problem.

Cheers, Ron



More information about the Python-Dev mailing list