Skip to content

Fix enum regression #12258 - #12260

Merged
JukkaL merged 2 commits into
python:masterfrom
sobolevn:issue-12258
Feb 28, 2022
Merged

Fix enum regression #12258#12260
JukkaL merged 2 commits into
python:masterfrom
sobolevn:issue-12258

Conversation

@sobolevn

@sobolevnsobolevn commented Feb 28, 2022

Copy link
Copy Markdown
Member

Closes#12258
Closes#12262

@sobolevn

Copy link
Copy Markdown
MemberAuthor

I will wait for the CI to pass (or not) and then add more tests to this feature.

@sobolevn

Copy link
Copy Markdown
MemberAuthor

Will close #12262 as well.

@github-actions

This comment has been minimized.

@sobolevn
sobolevn marked this pull request as draft February 28, 2022 05:17
@sobolevn
sobolevn marked this pull request as ready for review February 28, 2022 07:16
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JukkaLJukkaL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix! Code looks good. I can't say that I fully understand the subclassing rules, but the detailed test coverage gives me confidence to merge this.

@JukkaL
JukkaL merged commit feab209 into python:masterFeb 28, 2022
@AlexWaygood

Copy link
Copy Markdown
Member

Thanks for the rapid response @sobolevn!

Sign up for freeto 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.

too many data types false negative in Enum Regression on master branch: false-positive error for enum mixin data types

3 participants

@sobolevn@AlexWaygood@JukkaL