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 uriyyo
Recipients BTaskaya, methane, pablogsal, uriyyo
Date 2020-12-20.10:55:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608461747.66.0.245692894188.issue42525@roundup.psfhosted.org>
In-reply-to
Content
After several attempts to optimize class/module annotations, I didn't find a solution that won't break existing code and can cover all existing edge cases.

The root cause was mentioned by Inada, the problem that `__annotations__` is exposed to locals and can be dynamically modified and that can't be predicted at compilation time.

Sorry about this issue, when I was creating this issue, I didn't realize the whole problem state.

We can close this issue.
History
Date User Action Args
2020-12-20 10:55:47uriyyosetrecipients: + uriyyo, methane, pablogsal, BTaskaya
2020-12-20 10:55:47uriyyosetmessageid: <1608461747.66.0.245692894188.issue42525@roundup.psfhosted.org>
2020-12-20 10:55:47uriyyolinkissue42525 messages
2020-12-20 10:55:47uriyyocreate