Re: [Python-Dev] Should the dataclass frozen property apply to subclasses?

2018年2月26日 10:54:47 -0800

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~
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to