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 freundTech
Recipients Anthony Sottile, brandtbucher, freundTech, gvanrossum, ncoghlan
Date 2021-05-01.05:40:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619847651.22.0.717639075783.issue43994@roundup.psfhosted.org>
In-reply-to
Content
I already brought this up on the main pattern matching issue some time ago (https://bugs.python.org/issue42128#msg388554), where the consensus was that not using a Name is consistent with other parts of the ast, such as `import ... as identifier`, `except ... as identifier` and others.

For mypy having a Name node there would slightly simplify the code (I'm currently inserting a dummy NameExpr at AST-Conversion.

+0 from me.
History
Date User Action Args
2021-05-01 05:40:51freundTechsetrecipients: + freundTech, gvanrossum, ncoghlan, Anthony Sottile, brandtbucher
2021-05-01 05:40:51freundTechsetmessageid: <1619847651.22.0.717639075783.issue43994@roundup.psfhosted.org>
2021-05-01 05:40:51freundTechlinkissue43994 messages
2021-05-01 05:40:51freundTechcreate