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 brandtbucher
Recipients BTaskaya, Guido.van.Rossum, Mark.Shannon, brandtbucher, freundTech, ncoghlan, pablogsal
Date 2021-04-23.17:15:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619198146.36.0.92423607221.issue43892@roundup.psfhosted.org>
In-reply-to
Content
I can probably find time to take a pass at the unparser, if you want.

> cls needs to be an expression node to allow for attribute lookups

That's why I suggested "identifier*"! Each identifier in the list would be one part of the dotted name, so we wouldn't need to worry about having arbitrary expressions:

Foo() -> MatchClass(["Foo"], [], [], [])
foo.bar.Baz() -> MatchClass(["foo", "bar", "Baz"], [], [], [])

Not a big deal, though.
History
Date User Action Args
2021-04-23 17:15:46brandtbuchersetrecipients: + brandtbucher, ncoghlan, Mark.Shannon, Guido.van.Rossum, pablogsal, BTaskaya, freundTech
2021-04-23 17:15:46brandtbuchersetmessageid: <1619198146.36.0.92423607221.issue43892@roundup.psfhosted.org>
2021-04-23 17:15:46brandtbucherlinkissue43892 messages
2021-04-23 17:15:46brandtbuchercreate