Skip to content

gh-132684: [Enum] only call _missing_ in __contains__ for Flags #132790

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 2 commits into from
Apr 25, 2025

Conversation

ethanfurman
Copy link
Member

@ethanfurman ethanfurman commented Apr 22, 2025

@ethanfurman ethanfurman added type-bug An unexpected behavior, bug, or error skip news stdlib Python modules in the Lib dir 3.13 bugs and security fixes 3.14 new features, bugs and security fixes needs backport to 3.13 bugs and security fixes labels Apr 22, 2025
@ethanfurman ethanfurman self-assigned this Apr 22, 2025
@ethanfurman ethanfurman requested a review from picnixz April 22, 2025 16:46
Co-authored-by: Bénédikt Tran <[email protected]>
@ethanfurman ethanfurman merged commit 22bc953 into python:main Apr 25, 2025
42 checks passed
@miss-islington-app
Copy link

Thanks @ethanfurman for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 25, 2025
…pythonGH-132790)

(cherry picked from commit 22bc953)

Co-authored-by: Ethan Furman <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Apr 25, 2025

GH-132896 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Apr 25, 2025
ethanfurman added a commit that referenced this pull request Apr 25, 2025
GH-132790) (GH-132896)

gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790)
(cherry picked from commit 22bc953)

Co-authored-by: Ethan Furman <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes 3.14 new features, bugs and security fixes skip news stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants