summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2021-04-15 13:58:33 (GMT)
committerGitHub <noreply@github.com>2021-04-15 13:58:33 (GMT)
commitec09973f5b21d33550c834ddc89606b0e1c70ffd (patch)
tree21d1545868a0d3be55a76ed88f6514941aab74fc /Misc
parent0dca5eb54bd137ed5c6e20012fe8dddb2eadfdd7 (diff)
downloadcpython-ec09973f5b21d33550c834ddc89606b0e1c70ffd.zip
cpython-ec09973f5b21d33550c834ddc89606b0e1c70ffd.tar.gz
cpython-ec09973f5b21d33550c834ddc89606b0e1c70ffd.tar.bz2
bpo-43744: [Enum] fix ``_is_private`` (GH-25349)
``_is_private`` now returns ``False`` instead of raising an exception when enum name matches beginning of class name as used in a private variable
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-04-11-20-52-32.bpo-43744.uf0E68.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-04-11-20-52-32.bpo-43744.uf0E68.rst b/Misc/NEWS.d/next/Library/2021-04-11-20-52-32.bpo-43744.uf0E68.rst
new file mode 100644
index 0000000..7fd74be
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-04-11-20-52-32.bpo-43744.uf0E68.rst
@@ -0,0 +1,2 @@
+fix issue with enum member name matching the start of a private variable
+name