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

[3.12] gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542) by miss-islington · Pull Request #105572 · python/cpython · GitHub

/ cpython Public

[3.12] gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542) - #105572

Merged
ambv merged 1 commit into
python:3.12from
miss-islington:backport-59f009e-3.12
Jul 5, 2023
Merged

[3.12] gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542)#105572
ambv merged 1 commit into
python:3.12from
miss-islington:backport-59f009e-3.12

Conversation

miss-islington commented Jun 9, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

When inverting a Flag member (or boundary STRICT), only consider other canonical flags; when inverting an IntFlag member (or boundary KEEP), also consider aliases.
(cherry picked from commit 59f009e)

Co-authored-by: Ethan Furman ethan@stoneleaf.us

…ist. (pythonGH-105542)

When inverting a Flag member (or boundary STRICT), only consider other canonical flags; when inverting an IntFlag member (or boundary KEEP), also consider aliases.
(cherry picked from commit 59f009e)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
ambv merged commit 74d84cf into python:3.12 Jul 5, 2023
miss-islington deleted the backport-59f009e-3.12 branch July 5, 2023 11:40
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

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL