summaryrefslogtreecommitdiff
path: root/Lib/test/test_urlparse.py
diff options
context:
space:
mode:
authorEric V. Smith <ericvsmith@users.noreply.github.com>2018-03-18 20:40:34 -0400
committerGitHub <noreply@github.com>2018-03-18 20:40:34 -0400
commitf199bc655eb50c28e94010714629b376bbbd077b (patch)
tree2f6d64470055592c9b7d1e27bda7cd4cc3804916 /Lib/test/test_urlparse.py
parent3fe33043ee83d19e15551094fc1e0984617ded3c (diff)
downloadcpython-git-f199bc655eb50c28e94010714629b376bbbd077b.tar.gz
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.
Diffstat (limited to 'Lib/test/test_urlparse.py')
0 files changed, 0 insertions, 0 deletions