On Jun 23, 2020, at 16:26, Guido van Rossum email@example.com wrote:
(I'm replying to several messages in one reply. But there is too much to respond to so this is merely the first batch.)
I’m really glad to know that the PEP 622 team is deliberating internally about all the suggestions and comments made on this thread. Thank you, and I look forward to the updated PEP.
On Tue, Jun 23, 2020 at 12:07 PM Barry Warsaw firstname.lastname@example.org wrote: Couldn’t you adopt a flat indentation scheme with the minor change of moving the expression into a `match:` clause? E.g.
match: expression case a: foo() case b: bar() else: baz()
I didn’t see that in the rejected alternatives.
I’ll just answer the one question Guido asked (Apple Mail didn’t seem to quote it properly):
We discussed it, but ultimately rejected it because the first block would be a novelty in Pythonic syntax: an indented block whose content is a single expression rather than a sequence of statements. Do you think we need to add this to the Rejected Ideas section?
Yes, I think with some short rationale, it will short-circuit this question in subsequent discussions.