diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-09 09:02:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 09:02:22 (GMT) |
commit | 632682c0c27f51aa20fa27d1acf80d38997e4022 (patch) | |
tree | 243e15a64b5473ab639b97de1e72c1f308a42f2b /Misc | |
parent | 09896fca2f821fdac8c2ba28ae5a4596c179ead3 (diff) | |
download | cpython-632682c0c27f51aa20fa27d1acf80d38997e4022.zip cpython-632682c0c27f51aa20fa27d1acf80d38997e4022.tar.gz cpython-632682c0c27f51aa20fa27d1acf80d38997e4022.tar.bz2 |
[3.13] gh-118033: Fix `__weakref__` not set for generic dataclasses (GH-118099) (#118821)
gh-118033: Fix `__weakref__` not set for generic dataclasses (GH-118099)
(cherry picked from commit fa9b9cb11379806843ae03b1e4ad4ccd95a63c02)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-04-19-14-59-53.gh-issue-118033.amS4Gw.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-04-19-14-59-53.gh-issue-118033.amS4Gw.rst b/Misc/NEWS.d/next/Library/2024-04-19-14-59-53.gh-issue-118033.amS4Gw.rst new file mode 100644 index 0000000..7ceb293 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-04-19-14-59-53.gh-issue-118033.amS4Gw.rst @@ -0,0 +1,2 @@ +Fix :func:`dataclasses.dataclass` not creating a ``__weakref__`` slot when +subclassing :class:`typing.Generic`. |