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 gvanrossum
Recipients Anthony Sottile, brandtbucher, freundTech, gvanrossum, ncoghlan
Date 2021-05-01.03:02:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619838150.76.0.464255291817.issue43994@roundup.psfhosted.org>
In-reply-to
Content
I'm -0.5 on reusing Name(ctx=Store). The reason we're using that in assignments is that in the past (before the PEG parser) the parser literally used the same grammar for the LHS and RHS of assignments, and a second pass was used to rule out invalid targets (like "1 = e" or "f() = a") and mark the Name nodes representing targets as stores.

We don't reuse Name nodes for other binding targets like parameters or imports.

PS. To reach Mark it's best to email him directly, he's not very responsive to GitHub notifications (there are too many).

PPSS. I'm on vacation until May 8 and am trying not to check my email much. But I already failed on the first day. :-)
History
Date User Action Args
2021-05-01 03:02:30gvanrossumsetrecipients: + gvanrossum, ncoghlan, Anthony Sottile, brandtbucher, freundTech
2021-05-01 03:02:30gvanrossumsetmessageid: <1619838150.76.0.464255291817.issue43994@roundup.psfhosted.org>
2021-05-01 03:02:30gvanrossumlinkissue43994 messages
2021-05-01 03:02:30gvanrossumcreate