FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-131045: [Enum] fix flag containment checks when using values (GH-131053) by miss-islington · Pull Request #131167 · python/cpython · GitHub

/ cpython Public

[3.13] gh-131045: [Enum] fix flag containment checks when using values (GH-131053) - #131167

Merged
picnixz merged 1 commit into
python:3.13from
miss-islington:backport-17d06ae-3.13
Mar 23, 2025
Merged

[3.13] gh-131045: [Enum] fix flag containment checks when using values (GH-131053)#131167
picnixz merged 1 commit into
python:3.13from
miss-islington:backport-17d06ae-3.13

Conversation

miss-islington commented Mar 12, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Check would fail if value would create a pseudo-member, but that member
had not yet been created. We now attempt to create a pseudo-member for
a passed-in value first.
(cherry picked from commit 17d06ae)

Co-authored-by: Ethan Furman ethan@stoneleaf.us
Co-authored-by: Tomas R. tomas.roun8@gmail.com

…pythonGH-131053)

Check would fail if value would create a pseudo-member, but that member
had not yet been created.  We now attempt to create a pseudo-member for
a passed-in value first.
(cherry picked from commit 17d06ae)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL