summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-05 11:39:59 (GMT)
committerGitHub <noreply@github.com>2023-07-05 11:39:59 (GMT)
commit74d84cf84d18e8cf69ffef0d7955f80fbc47220a (patch)
tree184ffe0cda35a537005535bc119c730c6efa216e /Misc
parentda672b2d245fb439f4ff895636bf284e352fa631 (diff)
downloadcpython-74d84cf84d18e8cf69ffef0d7955f80fbc47220a.zip
cpython-74d84cf84d18e8cf69ffef0d7955f80fbc47220a.tar.gz
cpython-74d84cf84d18e8cf69ffef0d7955f80fbc47220a.tar.bz2
[3.12] gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542) (#105572)
gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-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 59f009e5898a006cdc8f5249be589de6edfe5cd0) Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-06-08-17-49-46.gh-issue-105497.K6Q8nU.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-06-08-17-49-46.gh-issue-105497.K6Q8nU.rst b/Misc/NEWS.d/next/Library/2023-06-08-17-49-46.gh-issue-105497.K6Q8nU.rst
new file mode 100644
index 0000000..2d4e209
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-06-08-17-49-46.gh-issue-105497.K6Q8nU.rst
@@ -0,0 +1 @@
+Fix flag inversion when alias/mask members exist.