[issue34136] Del on class __annotations__ regressed, failing test

Guido van Rossum report at bugs.python.org
Sat Jul 21 12:27:33 EDT 2018


Guido van Rossum <guido at python.org> added the comment:

Thanks for the research. At this point I'm wondering what this test is testing. There is no prescribed behavior once you delete __annotations__ from the scope -- it is not a supported operation. At the same time I don't want to add any code enforcing that it fails. Unless you disagree, I think in 3.6 we should just delete the test.

----------

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


More information about the Python-bugs-list mailing list