[Python-ideas] multiple intro statements [was: combine for/with statement]
Stephen J. Turnbull
stephen at xemacs.org
Thu Aug 4 05:34:40 CEST 2011
> This tries to do two distinct things.
> 1. Put multiple statements on a single line.
> 2. Have them apply to a common block of code.
No. Each statement applies to the block following it, which starts on
the same line. There's no common block involved, rather several
strictly nested blocks.
> So the order becomes something of importance,
Sure, just like short-circuited logical expressions. However, it is
> and it also becomes something of a problem to parse mentally.
Agreed (and Greg at least agrees, too).
More information about the Python-ideas