]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-96151: Use a private name for passing builtins to dataclass. This now allow...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 31 Oct 2022 14:59:18 +0000 (07:59 -0700)
committerGitHub <noreply@github.com>
Mon, 31 Oct 2022 14:59:18 +0000 (10:59 -0400)
commit789d1322f626e9a91ca1c186ee163197d4ffb842
tree16f131b39db5beaf0d2d3a8c36d3530aa67b5c0b
parent23545fb277fdc8acc5574e81111cb05fca7a4d50
[3.10] gh-96151: Use a private name for passing builtins to dataclass. This now allows for a field named BUILTIN (gh-98143) (gh-98899)

gh-96151: Use a private name for passing builtins to dataclass. This now allows for a field named BUILTIN (gh-98143)
(cherry picked from commit 29f98b46b77ee528477b9a7b335974b9682f7f14)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2022-10-10-07-07-31.gh-issue-96151.K9fwoq.rst [new file with mode: 0644]