bitter-ability-32190
01/25/2023, 2:50 PMTarget
and Field
are switching from frozen_after_init
to be vanilla frozen
`dataclass`es.
Non-dataclass subclasses of frozen dataclasses are not themselves frozen, but their frozen attributes are.
All this means is people can now attach arbitrary values onto their instances of their subclasses. This isn't any different from other frozen
dataclasses. I'm only noting it because I have to remove some lines from a test that tested this behavior.
Again, still can't assign to any of the dataclasses fields. Also __init__
is final
curved-television-6568
01/25/2023, 2:58 PMbitter-ability-32190
01/25/2023, 2:58 PMcurved-television-6568
01/25/2023, 2:59 PMbitter-ability-32190
01/25/2023, 2:59 PMbitter-ability-32190
01/25/2023, 2:59 PMcurved-television-6568
01/25/2023, 2:59 PMcurved-television-6568
01/25/2023, 2:59 PMbitter-ability-32190
01/25/2023, 3:00 PM