[Python-Dev] Should the dataclass frozen property apply to subclasses?
Ethan Furman
ethan at stoneleaf.us
Mon Feb 26 13:51:12 EST 2018
More information about the Python-Dev mailing list
Mon Feb 26 13:51:12 EST 2018
- Previous message (by thread): [Python-Dev] Should the dataclass frozen property apply to subclasses?
- Next message (by thread): [Python-Dev] Should the dataclass frozen property apply to subclasses?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 02/26/2018 05:40 AM, Eric V. Smith wrote: > As long as I'm saving if a dataclass is frozen, I should save all of the dataclass parameters on the class. Since it's > per-class, it's not a lot of overhead. That's what Enum does. A bit of pain, but makes so many other things easier. -- ~Ethan~
- Previous message (by thread): [Python-Dev] Should the dataclass frozen property apply to subclasses?
- Next message (by thread): [Python-Dev] Should the dataclass frozen property apply to subclasses?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list