Re: [RFC] Draft Proposal for New Python Syntax

Jeffrey Templon (
Wed, 25 May 1994 07:33:36 GMT

In <> "Steven Miale" <> writes:

>My major problem with the proposal is that it requires braces. I *like*
>using indentation, but I see how some might like to use braces instead.

>Thus, I offer the following alternative:

>Right now, each compound statement (def, for, etc.) is followed by a ':'.
>This would be the same *if* the user wanted indentation to control blocks.
>If they wanted to be explicit, then they would use '{' instead of the
>colon and use the corresponding '}' to end the block. This would also
>force them to use semicolons after non-compound statements.

>In other words, using the brace instead of the colon would let you
>use the proposed syntax changes. Using a colon would let you use the
>old-style syntax.

THis would be OK as long as it does not slow the interpreter down
too much, I don't see any reason why it would.