
Oct. 3, 2021
5:42 p.m.
Irit Katriel wrote:
It is also not too late to opt for a completely different syntax if a better one is suggested.
Honestly, I’ve never been a fan of the PEP’s proposed star syntax. If we’re okay adding a soft keyword, though, something like “except each” could help communicate the meaning of the blocks a bit more explicitly. I’m pretty sure that grammar would be unambiguous in all cases.