Message375133
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)
------------------------------------ |
|
Date |
User |
Action |
Args |
2020-08-10 17:47:58 | talsuk5 | set | recipients:
+ talsuk5 |
2020-08-10 17:47:58 | talsuk5 | set | messageid: <1597081678.02.0.276964498945.issue41517@roundup.psfhosted.org> |
2020-08-10 17:47:58 | talsuk5 | link | issue41517 messages |
2020-08-10 17:47:57 | talsuk5 | create | |
|