[issue45331] Can create enum of ranges, cannot create range enum. Range should be subclassable... or EnumMeta.__new__ should be smarter.

Ethan Furman report at bugs.python.org
Mon Jan 10 18:42:58 EST 2022


Ethan Furman <ethan at stoneleaf.us> added the comment:


New changeset 6223cbf86ad7d5e6d12f9747e5a9cf1d8c72bdc8 by Nikita Sobolev in branch 'main':
bpo-45331: [Enum] add rule to docs that mixin type must be subclassable (GH-30521)
https://github.com/python/cpython/commit/6223cbf86ad7d5e6d12f9747e5a9cf1d8c72bdc8


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45331>
_______________________________________


More information about the Python-bugs-list mailing list