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 methane
Recipients BTaskaya, methane, uriyyo
Date 2020-12-02.01:23:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606872181.18.0.0997257046618.issue42525@roundup.psfhosted.org>
In-reply-to
Content
I agree with Batuhan.

Although bytecode for class annotations seems inefficient, it is difficult to optimize without breaking backward compatibility.
You can write arbitrary code in class/module block which dynamically manipulate __annotations__.

```
class Foo:
    __annotations__["spam"] = "list"
    ham: tuple
```
History
Date User Action Args
2020-12-02 01:23:01methanesetrecipients: + methane, BTaskaya, uriyyo
2020-12-02 01:23:01methanesetmessageid: <1606872181.18.0.0997257046618.issue42525@roundup.psfhosted.org>
2020-12-02 01:23:01methanelinkissue42525 messages
2020-12-02 01:23:01methanecreate