Message394091
Unfortunately this happens because to generate the error message we check for the equal and the right hand side of the equal (to also discard some false positives) and this triggers the parser to ask for additional tokens. Notice that you don't need to close the ']', just provide an additional token:
>>> x = [x=4
... f
File "<stdin>", line 1
x = [x=4
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
Unfortunately is not going to be easy to solve without looking at the right hand side :( |
|
Date |
User |
Action |
Args |
2021-05-21 01:07:01 | pablogsal | set | recipients:
+ pablogsal, gvanrossum, lys.nikolaou |
2021-05-21 01:07:01 | pablogsal | set | messageid: <1621559221.61.0.543492117047.issue44201@roundup.psfhosted.org> |
2021-05-21 01:07:01 | pablogsal | link | issue44201 messages |
2021-05-21 01:07:01 | pablogsal | create | |
|