[issue34136] Del on class __annotations__ regressed, failing test

Kay Hayen report at bugs.python.org
Sun Jul 22 03:13:58 EDT 2018


Kay Hayen <kay.hayen at gmail.com> added the comment:

As somebody whose opinion is even less important: 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?

Yours,
Kay

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34136>
_______________________________________


More information about the Python-bugs-list mailing list