cpython/Misc/NEWS.d/next
Ethan Furman 6bd94de168
bpo-42567: [Enum] call __init_subclass__ after members are added (GH-23714)
When creating an Enum, type.__new__ calls __init_subclass__, but at that point the members have not been added.

This patch suppresses the initial call, then manually calls the ancestor __init_subclass__ before returning the new Enum class.
2020-12-09 16:41:22 -08:00
..
Build Python 3.10.0a3 2020-12-07 19:34:10 +00:00
C API bpo-32381: Remove unused _Py_fopen() function (GH-23711) 2020-12-09 20:54:31 +01:00
Core and Builtins bpo-32381: Fix PyRun_SimpleFileExFlags() encoding (GH-23642) 2020-12-08 14:38:08 +01:00
Documentation Python 3.10.0a3 2020-12-07 19:34:10 +00:00
IDLE Python 3.10.0a3 2020-12-07 19:34:10 +00:00
Library bpo-42567: [Enum] call __init_subclass__ after members are added (GH-23714) 2020-12-09 16:41:22 -08:00
macOS Python 3.10.0a3 2020-12-07 19:34:10 +00:00
Security Python 3.10.0a3 2020-12-07 19:34:10 +00:00
Tests bpo-41439: Skip test_ssl and test_uuid tests if fork() is not supported (GH-21684) 2020-12-09 00:20:19 +01:00
Tools-Demos Python 3.10.0a3 2020-12-07 19:34:10 +00:00
Windows Python 3.10.0a3 2020-12-07 19:34:10 +00:00