On 09/04/2021 19:02, Guido van Rossum wrote:
But if there are two proposals with conflicting semantics for the same syntax that kills both ideas, doesn’t it? Because apparently it’s not clear what the syntax should mean.

Surely it depends (if we adopt a proposal) how we document it. You could argue that very few syntax elements are entirely clear unless we explain it - which is what the point of the documentation.

For example for someone who doesn't know what 'with' does, it isn't necessarily clear (just from the syntax) that 'with' ensures finalizing of resources when an exception occurs - the documentation has to explain that.

IF we reject a syntax because it isn't self-explanatory that sounds like a bad precedence.

--
Anthony Flury
Moble: +44 07743 282707
Home: +44 (0)1206 391294
email: anthony.flury@btinternet.com