Skip to content

[3.8] bpo-43176: Fix processing of empty dataclasses (GH-24484) #25206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Apr 6, 2021

When a dataclass inherits from an empty base, all immutability checks are omitted. This PR fixes this and adds tests for it.

Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit 376ffc6)

Co-authored-by: Iurii Kemaev 6885137+hbq1@users.noreply.github.com

https://bugs.python.org/issue43176

Automerge-Triggered-By: GH:ericvsmith

When a dataclass inherits from an empty base, all immutability checks are omitted. This PR fixes this and adds tests for it.

Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit 376ffc6)

Co-authored-by: Iurii Kemaev <6885137+hbq1@users.noreply.github.com>
@miss-islington
Copy link
Contributor Author

@hbq1: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit b132be8 into python:3.8 Apr 6, 2021
@miss-islington miss-islington deleted the backport-376ffc6-3.8 branch April 6, 2021 05:32
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.

5 participants