summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2021-01-07 21:17:55 (GMT)
committerGitHub <noreply@github.com>2021-01-07 21:17:55 (GMT)
commita581a868d97f649aedf868a1d27865a10925c73a (patch)
treee1c565332ea2e922618089b5c40493a92f7de9bf /Misc
parent8643345bdbd6bcf4b3b8b18abaf488f5fa361b7a (diff)
downloadcpython-a581a868d97f649aedf868a1d27865a10925c73a.zip
cpython-a581a868d97f649aedf868a1d27865a10925c73a.tar.gz
cpython-a581a868d97f649aedf868a1d27865a10925c73a.tar.bz2
bpo-42851: [Enum] remove brittle __init_subclass__ support (GH-24154)
Solution to support calls to `__init_subclass__` with members defined is too brittle and breaks with certain mixins.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-01-07-11-44-22.bpo-42851.uyQFyd.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-01-07-11-44-22.bpo-42851.uyQFyd.rst b/Misc/NEWS.d/next/Library/2021-01-07-11-44-22.bpo-42851.uyQFyd.rst
new file mode 100644
index 0000000..9272835
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-01-07-11-44-22.bpo-42851.uyQFyd.rst
@@ -0,0 +1 @@
+remove __init_subclass__ support for Enum members