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 gvanrossum
Recipients Mark.Shannon, gvanrossum, kayhayen, levkivskyi, serhiy.storchaka, terry.reedy
Date 2018-07-22.21:57:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532296655.34.0.56676864532.issue34136@psf.upfronthosting.co.za>
In-reply-to
Content
> Did you consider my suggestion to make it a "SyntaxError" for
> "del __annotations__" on a class level or even module level or at all?
> Or does this go too far?

That's not reasonable. __annotations__ is just an identifier.
There are lots of other things that shouldn't be deleted --
should we try to enumerate them all and make them all syntax errors?
Surely not.
History
Date User Action Args
2018-07-22 21:57:35gvanrossumsetrecipients: + gvanrossum, terry.reedy, kayhayen, Mark.Shannon, serhiy.storchaka, levkivskyi
2018-07-22 21:57:35gvanrossumsetmessageid: <1532296655.34.0.56676864532.issue34136@psf.upfronthosting.co.za>
2018-07-22 21:57:35gvanrossumlinkissue34136 messages
2018-07-22 21:57:35gvanrossumcreate