Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Dec 29, 2025

Since Python 3.12, it's possible to check if a value is in a Enum type using the value in Enum syntax. xref: https://docs.python.org/3/library/enum.html#enum.EnumType.__contains__

Patches after #4248.

@seisman seisman added this to the 0.18.0 milestone Dec 29, 2025
@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog needs review This PR has higher priority and needs review. labels Dec 29, 2025
@seisman seisman mentioned this pull request Dec 29, 2025
30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs needs review This PR has higher priority and needs review. skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants