News for hackers. Stuff that matters.
Re:Data Classification: Does Python still have a need for cl... by glyph on Tuesday February 14, 2023 @08:25PM (#34798834)
why do you think you can't define `__aenter__` and `__aexit__` on a dataclass?
Re:Data Classification: Does Python still have a need for cl... by seanhunter on Wednesday February 15, 2023 @04:30AM (#34801705)
I don't. But it's really not a dataclass - it doesn't need slots etc.