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 BTaskaya
Recipients BTaskaya, gousaiyang, gvanrossum, lys.nikolaou, pablogsal, serhiy.storchaka
Date 2021-04-21.21:34:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Hum, there seems to be an actual bug here: even with PEP 563, the annotations for "complex targets" are evaluated. For example:

Yes, that is what this issue is about. This bug only surfaced while doing other stuff and PEP 563 being the default

> I think the "LOAD_NAME(x), POP_TOP" part is correct, but "LOAD_NAME(z), LOAD_ATTR(w), POP_TOP" should not be generated at all.

Agreed, which is what the PR 23952 has proposed.

I'll proceed with the PR and update it according to the revert of PEP 563, which should hopefully fix this only when the future flag is activated.
Date User Action Args
2021-04-21 21:34:34BTaskayasetrecipients: + BTaskaya, gvanrossum, serhiy.storchaka, lys.nikolaou, pablogsal, gousaiyang
2021-04-21 21:34:34BTaskayasetmessageid: <>
2021-04-21 21:34:34BTaskayalinkissue42737 messages
2021-04-21 21:34:34BTaskayacreate