Author CCLDArjun
Recipients CCLDArjun, lys.nikolaou, pablogsal
Date 2021-06-06.20:38:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623011923.67.0.14438904408.issue44324@roundup.psfhosted.org>
In-reply-to
Content
Recently, CPython got a new syntax error, "SyntaxError: expression expected after dictionary key and ':'". I propose to add a "expected expression" in general for consistency. I would like to have it changed for all the "equals" (e.g. PLUSEQUAL, MINEQUAL, etc). 


>>> x =
  File "<stdin>", line 1
    x =
        ^
SyntaxError: invalid syntax

Would be enhanced by:

>>> x +=
  File "<stdin>", line 1
    x =
         ^
SyntaxError: expected expression
History
Date User Action Args
2021-06-06 20:38:44CCLDArjunsetrecipients: + CCLDArjun, lys.nikolaou, pablogsal
2021-06-06 20:38:43CCLDArjunsetmessageid: <1623011923.67.0.14438904408.issue44324@roundup.psfhosted.org>
2021-06-06 20:38:43CCLDArjunlinkissue44324 messages
2021-06-06 20:38:43CCLDArjuncreate