Message 274918 - Python tracker
I played with the REPL, and found this: >>> del __annotations__ del __annotations__ >>> x: int = 0 x: int = 0 Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: __annotations__ not found >>> I would expect this to re-create __annotations__.