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-10-12.17:20:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634059257.61.0.643840687035.issue45450@roundup.psfhosted.org>
In-reply-to
Content
There is a non-trivial ammount of users that try to parenthesize lambda parameters:

>>> lambda (x,y,z): x+y+z
  File "<stdin>", line 1
    lambda (x,y,z): x+y+z
           ^
SyntaxError: invalid syntax

We should improve the error message in this case
History
Date User Action Args
2021-10-12 17:20:57pablogsalsetrecipients: + pablogsal
2021-10-12 17:20:57pablogsalsetmessageid: <1634059257.61.0.643840687035.issue45450@roundup.psfhosted.org>
2021-10-12 17:20:57pablogsallinkissue45450 messages
2021-10-12 17:20:57pablogsalcreate