Skip to content

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
Copy link
Contributor Author

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

@ericvsmith ericvsmith merged commit 8a34a07 into python:3.9 Apr 6, 2021
@miss-islington miss-islington deleted the backport-376ffc6-3.9 branch April 6, 2021 13:46
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