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 aroberge, lys.nikolaou, pablogsal
Date 2021-08-18.18:06:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629310009.49.0.693520312264.issue44947@roundup.psfhosted.org>
In-reply-to
Content
The problem is not the keyword, is that we are parsing correctly until the "and" and we find the comma there. It happens with anything that invalidates more items:

>>> from math import sin, cos, $ tan
  File "<stdin>", line 1
    from math import sin, cos, $ tan
                               ^
SyntaxError: trailing comma not allowed without surrounding parentheses
History
Date User Action Args
2021-08-18 18:06:49pablogsalsetrecipients: + pablogsal, aroberge, lys.nikolaou
2021-08-18 18:06:49pablogsalsetmessageid: <1629310009.49.0.693520312264.issue44947@roundup.psfhosted.org>
2021-08-18 18:06:49pablogsallinkissue44947 messages
2021-08-18 18:06:49pablogsalcreate