Thanks to everyone who participated in the discussion or sent a PR.
- Tweaked the example at line 95-100 to use
result = ...
rather than return ...
so as to make a different rewrite less feasible
- Replaced the weak "2-arg iter" example with Giampaolo Roloda's
while chunk := file.read(8192): process(chunk)
- Added prohibition of unparenthesized assignment expressions in annotations and lambdas
- Clarified that
TargetScopeError
is a new subclass of SyntaxError
- Clarified the text forbidding assignment to comprehension loop control variables
- Clarified that the prohibition on
:=
with annotation applies to inline annotation (i.e. they cannot be syntactically combined in the same expression)
- Added conditional expressions to the things
:=
binds less tightly than
- Dropped section "This could be used to create ugly code"
- Clarified the example in Appendix C
Now on to the implementation work! (Maybe I'll sprint on this at the core-dev sprint in September.)