Author brandtbucher
Recipients Anthony Sottile, brandtbucher
Date 2021-05-01.00:04:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619827487.01.0.917113527531.issue43994@roundup.psfhosted.org>
In-reply-to
Content
Do you mind providing a bit more context? I'm sort of confused what exactly is being proposed here (as far as I can tell, it's not really possible to represent "<pattern> as <name>" with a single Name node).

Also, I'm not sure if you're aware, but we just completed a huge overhaul of the ASTs generated for match statements. This work was specifically done for clients of the AST like mypy. See the discussion at: https://github.com/python/mypy/pull/10191 and in issue 43892.

The new nodes are documented here: https://docs.python.org/3.10/library/ast.html?highlight=matchas#pattern-matching
History
Date User Action Args
2021-05-01 00:04:47brandtbuchersetrecipients: + brandtbucher, Anthony Sottile
2021-05-01 00:04:47brandtbuchersetmessageid: <1619827487.01.0.917113527531.issue43994@roundup.psfhosted.org>
2021-05-01 00:04:47brandtbucherlinkissue43994 messages
2021-05-01 00:04:46brandtbuchercreate