Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What's New in Python 3.12. Parent comment
Although it'd be nice if it worked with slotted classes instead of just blowing up.
Dataclasses have asdict which work on both, but it's annoying there's nothing for regular classes.
There are no comments on this comment yet.
Although it'd be nice if it worked with slotted classes instead of just blowing up.
Dataclasses have asdict which work on both, but it's annoying there's nothing for regular classes.