bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass derived classes (#6147)
If a non-dataclass derives from a frozen dataclass, allow attributes to be set. Require either all of the dataclasses in a class hierarchy to be frozen, or all non-frozen. Store `@dataclass` parameters on the class object under `__dataclass_params__`. This is needed to detect frozen base classes.
E
Eric V. Smith committed
f199bc655eb50c28e94010714629b376bbbd077b
Parent: 3fe3304
Committed by GitHub <noreply@github.com>
on 3/19/2018, 12:40:34 AM