Matt Wozniski <godlyg...@gmail.com> added the comment:
> Syntactically, this could be many possible errors: missing comma, missing > period, missing parens, missing brackets, etc. Syntactically, it cannot be a missing comma. Adding the comma is a syntax error. $ python3 -c 'if datetime.now(),strftime(...) != "19:50:00": pass' File "<string>", line 1 if datetime.now(),strftime(...) != "19:50:00": pass ^ SyntaxError: invalid syntax Granted this is a heuristic, but it would be nice if it was able to not suggest a change that it would reject as syntactically incorrect. ---------- nosy: +godlygeek _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45982> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com