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 Mark.Shannon
Recipients Mark.Shannon, gvanrossum, levkivskyi, serhiy.storchaka, yselivanov
Date 2018-01-14.13:41:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515937260.85.0.467229070634.issue32550@psf.upfronthosting.co.za>
In-reply-to
Content
Works as expected:

>>> class C:
...     exec('x: int')
... 
>>> C.__annotations__
{'x': <class 'int'>}
>>> __annotations__
{}
History
Date User Action Args
2018-01-14 13:41:00Mark.Shannonsetrecipients: + Mark.Shannon, gvanrossum, serhiy.storchaka, yselivanov, levkivskyi
2018-01-14 13:41:00Mark.Shannonsetmessageid: <1515937260.85.0.467229070634.issue32550@psf.upfronthosting.co.za>
2018-01-14 13:41:00Mark.Shannonlinkissue32550 messages
2018-01-14 13:41:00Mark.Shannoncreate