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
Python-Dev@python.org
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