A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-February/152305.html below:

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

[Python-Dev] Should the dataclass frozen property apply to subclasses? [Python-Dev] Should the dataclass frozen property apply to subclasses?Ethan Furman ethan at stoneleaf.us
Mon Feb 26 13:51:12 EST 2018
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~

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4