Message390700
"cannot assign to name" looks wrong. Usually we can assign to name, unless it is a keyword. And the problem is not that we cannot assign to name (we can), but that is is an invalid syntax, assignment is a statement, not an expression.
Seems it handles only simplest cases with "=" in "if". It does not handle "while x = 3" and "if y and x = 3". Could it be possible to make it more general. |
|
Date |
User |
Action |
Args |
2021-04-10 07:49:28 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, aroberge, pablogsal |
2021-04-10 07:49:27 | serhiy.storchaka | set | messageid: <1618040967.98.0.96623757684.issue43797@roundup.psfhosted.org> |
2021-04-10 07:49:27 | serhiy.storchaka | link | issue43797 messages |
2021-04-10 07:49:27 | serhiy.storchaka | create | |
|