Custom descriptors caching owner in __set_name__ receive the discarded pre-slot class under @dataclass(slots=True) in Python 3.13
Language: Python · Versions: Python 3.13 The problem I have a base @dataclass(slots=True) and a derived @dataclass(slots=True) that overrides a field with a default value or uses…
2 posts ·