Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow enum members to have type objects as values#19160

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JukkaL merged 1 commit intomasterfromenum-type-obj-member
May 28, 2025

Conversation

@JukkaL
Copy link
Collaborator

Type objects as enum values are supported at runtime.

Fixes#19151.

delfick reacted with hooray emoji
Type objects as enum values are supported at runtime.Fixes#19151.
@JukkaLJukkaL requested a review fromsobolevnMay 28, 2025 12:18
@JukkaLJukkaL mentioned this pull requestMay 28, 2025
@github-actions
Copy link
Contributor

According tomypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@JukkaLJukkaL merged commit568a638 intomasterMay 28, 2025
18 checks passed
@JukkaLJukkaL deleted the enum-type-obj-member branchMay 28, 2025 13:32
JukkaL added a commit that referenced this pull requestMay 29, 2025
Type objects as enum values are supported at runtime.Fixes#19151.
cdce8p pushed a commit to cdce8p/mypy that referenced this pull requestMay 31, 2025
Type objects as enum values are supported at runtime.Fixespython#19151.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@svalentinsvalentinsvalentin approved these changes

@sobolevnsobolevnAwaiting requested review from sobolevn

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[1.16 regression] determining exhaustive match on an enum with type members

2 participants

@JukkaL@svalentin

[8]ページ先頭

©2009-2025 Movatter.jp