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 gregory.p.smith, gvanrossum, lys.nikolaou, pablogsal, serhiy.storchaka, slebedev
Date 2021-12-23.20:15:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640290515.9.0.777988490966.issue46167@roundup.psfhosted.org>
In-reply-to
Content
It does not need any change in parser, it can be done in the code generator which currently explicitly warns about such ambiguity.

Although it needs changes in formal grammar which will be more complex.

But what is a benefit? What is an advantage of writing

   assert (thing, description)

instead of

   assert thing, description

?
History
Date User Action Args
2021-12-23 20:15:15serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, gregory.p.smith, lys.nikolaou, pablogsal, slebedev
2021-12-23 20:15:15serhiy.storchakasetmessageid: <1640290515.9.0.777988490966.issue46167@roundup.psfhosted.org>
2021-12-23 20:15:15serhiy.storchakalinkissue46167 messages
2021-12-23 20:15:15serhiy.storchakacreate