News for hackers. Stuff that matters.
Re:Python Design Patterns (2018) by galoisscobi on Sunday March 13, 2022 @09:19PM (#30667506)
Frozen dataclass instances (https://docs.python.org/3/library/dataclasses.html#frozen-in...) might be of help.
Re:Python Design Patterns (2018) by rmbyrro on Monday March 14, 2022 @04:13AM (#30669683)
Wasn't aware of this feature in dataclasses, that can be helpful in a few cases, thanks for pointing out