This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients pablogsal
Date 2021-04-13.01:30:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618277443.81.0.695650412986.issue43822@roundup.psfhosted.org>
In-reply-to
Content
Given that is quite common to forgot a comma in containers, function calls, ...etc and that the current error is:

>>> [a, b, c d]
  File "<stdin>", line 1
    [a, b, c d]
             ^
SyntaxError: invalid syntax

We could improve the user experience quite a lot if we mention that probably the user forgot a comma:

>>> [a, b, c d]
  File "<stdin>", line 1
    [a, b, c d]
             ^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
History
Date User Action Args
2021-04-13 01:30:43pablogsalsetrecipients: + pablogsal
2021-04-13 01:30:43pablogsalsetmessageid: <1618277443.81.0.695650412986.issue43822@roundup.psfhosted.org>
2021-04-13 01:30:43pablogsallinkissue43822 messages
2021-04-13 01:30:43pablogsalcreate