]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91860: Add typing.dataclass_transform (PEP 681) (#91861)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Tue, 26 Apr 2022 03:30:25 +0000 (20:30 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Apr 2022 03:30:25 +0000 (20:30 -0700)
commit5397b5afc1f594dc0ba3b7743351d595e637bf24
tree4faba19b9efee47101ecf76bdd62fd7e0555db55
parentd174ebe91ebc9f7388a22cc81cdc5f7be8bb8c9b
gh-91860: Add typing.dataclass_transform (PEP 681) (#91861)

Copied from typing-extensions (python/typing#1054, python/typing#1120).

Documentation is intentionally omitted, so we can focus on getting the
runtime part in before the feature freeze.
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2022-04-23-08-06-36.gh-issue-91860.ityDjK.rst [new file with mode: 0644]