[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules
Jelle Zijlstra
report at bugs.python.org
Wed Apr 28 01:02:14 EDT 2021
Jelle Zijlstra <jelle.zijlstra at gmail.com> added the comment:
For what it's worth, I checked grep.app and found only one usage of del on __annotations__, in a test suite: https://github.com/go-python/gpython/blob/master/py/tests/function.py#L82. Changing its behavior seems very low risk.
----------
nosy: +Jelle Zijlstra
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43901>
_______________________________________
More information about the Python-bugs-list
mailing list