]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-135228: When @dataclass(slots=True) replaces a dataclass, make the original...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Aug 2025 14:17:26 +0000 (16:17 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Aug 2025 14:17:26 +0000 (17:17 +0300)
commit4dda1768be01e7fb99135d2cb488857823d68fd2
tree00d532c91db724a34dc52eaa40db3b264e2e87e8
parentdaed07a1f9965be4eecbc9d044d26bc08846c4e3
[3.14] gh-135228: When @dataclass(slots=True) replaces a dataclass, make the original class collectible (take 2) (GH-137047) (#137666)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/dataclasses.py
Lib/test/test_dataclasses/__init__.py
Misc/NEWS.d/next/Library/2025-07-20-16-56-55.gh-issue-135228.n_XIao.rst [new file with mode: 0644]
Python/clinic/sysmodule.c.h
Python/sysmodule.c