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 BTaskaya, gousaiyang, gvanrossum, lys.nikolaou, pablogsal, serhiy.storchaka
Date 2021-04-10.20:12:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618085541.15.0.682917077757.issue42737@roundup.psfhosted.org>
In-reply-to
Content
Hm, reading the thread it's not 100% clear to me what you are proposing to do in your patch, since different people seem to have proposed different things.

I think I'd be okay if `foo[bar]: baz` and `foo.bar: baz` (etc.) didn't generate any bytecode at all. Is that what you're proposing here? If so, and assuming the code is reasonably straightforward, I'd say go ahead and make a PR (and close the old OR).

In case it's relevant, I don't peronally expect Larry's clever alternative to PEP 563 to make it past the SC, and I don't care much about it (too many tricky edge cases), but it's out of my control, so don't count on that being dead just yet.

And FWIW changing how annotations are represented in the AST is out of scope for this issue. (There are tricky edge cases there too.)
History
Date User Action Args
2021-04-10 20:12:21gvanrossumsetrecipients: + gvanrossum, serhiy.storchaka, lys.nikolaou, pablogsal, BTaskaya, gousaiyang
2021-04-10 20:12:21gvanrossumsetmessageid: <1618085541.15.0.682917077757.issue42737@roundup.psfhosted.org>
2021-04-10 20:12:21gvanrossumlinkissue42737 messages
2021-04-10 20:12:21gvanrossumcreate