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 levkivskyi
Recipients Mark.Shannon, gvanrossum, levkivskyi, serhiy.storchaka, yselivanov
Date 2018-01-14.13:33:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515936807.97.0.467229070634.issue32550@psf.upfronthosting.co.za>
In-reply-to
Content
There is also another corner case to consider:

class C:
    exec('x: int')

assert C.__annotations__ == {'x': int}
assert __annotations__ == {}

I am not sure this one will be covered correctly.
But the main argument here is speed I think.

Let us see what others think about this.
History
Date User Action Args
2018-01-14 13:33:28levkivskyisetrecipients: + levkivskyi, gvanrossum, Mark.Shannon, serhiy.storchaka, yselivanov
2018-01-14 13:33:27levkivskyisetmessageid: <1515936807.97.0.467229070634.issue32550@psf.upfronthosting.co.za>
2018-01-14 13:33:27levkivskyilinkissue32550 messages
2018-01-14 13:33:27levkivskyicreate