]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] 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:00 +0000 (07:59 -0700)
committerGitHub <noreply@github.com>
Mon, 31 Oct 2022 14:59:00 +0000 (10:59 -0400)
commitca24e496bad2fcae0994b0de583f9cedc85bbd80
tree55667557389aaf1f49a0cc94b43ac2ad46fecf4e
parent57dd11038f22379770d9f16e527f787fdea978fd
[3.11] gh-96151: Use a private name for passing builtins to dataclass. This now allows for a field named BUILTIN (gh-98143) (gh-98900)

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]