Hacker News new | ask | show | jobs
by dfee 2951 days ago
You nailed it with "on any package that I write that has third party dependencies anyway". On my recent package I was going for zero dependencies (at py3.7+) so I used the backport of dataclasses.

Ultimately, I threw out dataclasses too. But if I didn't need __repr__, __post_init__ and __slots__ with default values, I'd probably have just stuck with dataclasses :)