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.12:32:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515933164.84.0.467229070634.issue32550@psf.upfronthosting.co.za>
In-reply-to
Content
There are several corner cases. For example consider this code:

>>> class C:
...     del __annotations__
...     x: int

Currently this correctly raises NameError, with your replacement it will instead stick {'x': int} in the module `__annotations__`. I think there may be other special cases but I don't remember them now.
History
Date User Action Args
2018-01-14 12:32:44levkivskyisetrecipients: + levkivskyi, gvanrossum, Mark.Shannon, serhiy.storchaka, yselivanov
2018-01-14 12:32:44levkivskyisetmessageid: <1515933164.84.0.467229070634.issue32550@psf.upfronthosting.co.za>
2018-01-14 12:32:44levkivskyilinkissue32550 messages
2018-01-14 12:32:44levkivskyicreate