-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
dataclasses: 3.12.3 regression with weakref_slot #118033
Copy link
Copy link
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Activity
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
The
__weakref__slot is not set for classes that have aGeneric[T]base.Output on 3.12.2:
On 3.12.3:
CPython versions tested on:
3.12
Operating systems tested on:
Linux, macOS, Windows
Linked PRs
__weakref__not set for generic dataclasses #118099__weakref__not set for generic dataclasses (GH-118099) #118821__weakref__not set for generic dataclasses (GH-118099) #118822