Yeah, exactly. This error shouldn't ever happen, period. All modern development tools give big fat warnings when you do this.
> if a = 3:
^
SyntaxError: invalid syntaxOf course a consequence of that is that you can't chained affectations (a = b = c) but it's probably a good compromise.
You will have a better, more reliable, and safer codebase once you clean up the legacy mess and turn this on..
Plus you get out of the habit of not reading output from the compiler because there are so many warnings...