[issue45946] RecursionError when annotating a field with the same name as a field

2021-12-01 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45946] RecursionError when annotating a field with the same name as a field

2021-12-01 Thread Gobot1234
New submission from Gobot1234 : Small snippet to reproduce: ``` from dataclasses import dataclass, field @dataclass class Foo: bool: bool = field() ``` Raises ``` --- RecursionErrorTraceback