![](https://secure.gravatar.com/avatar/3247bfd67c8fa4c4a08b8d30e49eab39.jpg?s=120&d=mm&r=g)
May 15, 2021
6:26 p.m.
Thanks for identifying those behavioral mismatches between attrs and dataclass. These differences are unfortunate, especially given that dataclass evolved from attrs. I've updated the [Limitations](https://github.com/microsoft/pyright/blob/main/specs/dataclass_transforms.md...) section of the spec to capture these and other pieces of feedback so we can collectively decide which of these limitations need to be addressed (either in the dataclass_transform spec or in attrs) and which can potentially be ignored (because they are esoteric edge cases that impact very few uses in practice). Keep the feedback coming! -Eric