I still don't like it, but I suppose for the benefit of people who
simply can't live with indentation, maybe we can invent an optional
keyword to be introduced at the end of an indented block, like
if foo and bar:
where the 'end if' line would be optional and would have to be
indented properly and could be used by a re-indent routine.
This would be fairly simple for me to implement in the grammar. Note
that code inside an end-terminated block would still have to be
indented properly (else I think it WOULD require a major rewrite of
the scanner and/or the grammar) but I think we all can live with that.
I will leave the coding of the re-indenter to someone who actually
thinks they need it. :-)
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>