This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author talsuk5
Recipients talsuk5
Date 2020-08-10.17:47:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597081678.02.0.276964498945.issue41517@roundup.psfhosted.org>
In-reply-to
Content
when inheriting an implemented enum, we get a runtime error
But when creating a multiple inheritance like the following, it works… so something feels broken in the enum mechanism

------------------------------------
from enum import IntEnum, Enum

class A(IntEnum):
   a = 1

class B(A, Enum):
   b= 1

print(B.b)
------------------------------------
History
Date User Action Args
2020-08-10 17:47:58talsuk5setrecipients: + talsuk5
2020-08-10 17:47:58talsuk5setmessageid: <1597081678.02.0.276964498945.issue41517@roundup.psfhosted.org>
2020-08-10 17:47:58talsuk5linkissue41517 messages
2020-08-10 17:47:57talsuk5create