Message395486
> Could we just try parsing "as _" and raise if so? That wouldn't conflict with any existing rules, and that way we could actually have a helpful error message.
No, the same happens with other targets such as:
File "/home/pablogsal/github/python/master/lel.py", line 2
case 42 as 1+1:
^
SyntaxError: expected ':' |
|
Date |
User |
Action |
Args |
2021-06-09 21:57:52 | pablogsal | set | recipients:
+ pablogsal, lys.nikolaou, miss-islington, brandtbucher |
2021-06-09 21:57:52 | pablogsal | set | messageid: <1623275872.9.0.838170299324.issue44368@roundup.psfhosted.org> |
2021-06-09 21:57:52 | pablogsal | link | issue44368 messages |
2021-06-09 21:57:52 | pablogsal | create | |
|