Skip to content

[3.11] gh-104035: Do not ignore user-defined __{get,set}state__ in slotted frozen dataclasses (GH-104041)#104044

Merged
carljm merged 1 commit intopython:3.11from
miss-islington:backport-99aab61-3.11
May 1, 2023
Merged

[3.11] gh-104035: Do not ignore user-defined __{get,set}state__ in slotted frozen dataclasses (GH-104041)#104044
carljm merged 1 commit intopython:3.11from
miss-islington:backport-99aab61-3.11

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 1, 2023

…lotted frozen dataclasses (pythonGH-104041)

(cherry picked from commit 99aab61)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@carljm carljm merged commit 0df7c3a into python:3.11 May 1, 2023
@miss-islington miss-islington deleted the backport-99aab61-3.11 branch May 1, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Frozen dataclasses with slots cannot override __getstate__ or __setstate__

4 participants