Closed kg583 closed 7 months ago
Ah, looks like I missed one of the places where 3.10 added support for named expressions. Simple workaround is to add parentheses as in <=3.9, but this should now work with --target 3.10
+ as of coconut-develop>=3.0.4-post_dev15
.
The following walruses raise parser errors, despite being valid Python:
Note that the former only happens in a
__getitem__
call; a literal like[i := 0]
is parsed correctly.