Message375157
The documentation says:
"Allowing subclassing of enums that define members would lead to a violation of some important invariants of types and instances."
but it isn't clear what those invariants are, or why it is more of a problem for enums than any other subclassing situation. Could the docs be updated to explain why it is prohibited? |
|
Date |
User |
Action |
Args |
2020-08-10 23:42:29 | steven.daprano | set | recipients:
+ steven.daprano, barry, eric.smith, eli.bendersky, ethan.furman, Jeffrey.Kintscher, talsuk5 |
2020-08-10 23:42:29 | steven.daprano | set | messageid: <1597102949.12.0.918801519645.issue41517@roundup.psfhosted.org> |
2020-08-10 23:42:29 | steven.daprano | link | issue41517 messages |
2020-08-10 23:42:28 | steven.daprano | create | |
|