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 serhiy.storchaka
Recipients benjamin.peterson, brett.cannon, ncoghlan, serhiy.storchaka, yselivanov
Date 2017-11-12.22:29:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510525745.4.0.213398074469.issue32012@psf.upfronthosting.co.za>
In-reply-to
Content
The syntax f(x for x in [1],) is ambiguous and reasons that allow it (omitting parenthesis in generator expression and using trailing comma in call expression) are not applicable in this case. Rationales see on Python-Dev: https://mail.python.org/pipermail/python-dev/2017-November/150481.html.
History
Date User Action Args
2017-11-12 22:29:05serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, benjamin.peterson, yselivanov
2017-11-12 22:29:05serhiy.storchakasetmessageid: <1510525745.4.0.213398074469.issue32012@psf.upfronthosting.co.za>
2017-11-12 22:29:02serhiy.storchakalinkissue32012 messages
2017-11-12 22:29:02serhiy.storchakacreate