Author steven.daprano
Recipients Jeffrey.Kintscher, barry, eli.bendersky, eric.smith, ethan.furman, steven.daprano, talsuk5
Date 2020-08-10.23:42:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597102949.12.0.918801519645.issue41517@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2020-08-10 23:42:29steven.dapranosetrecipients: + steven.daprano, barry, eric.smith, eli.bendersky, ethan.furman, Jeffrey.Kintscher, talsuk5
2020-08-10 23:42:29steven.dapranosetmessageid: <1597102949.12.0.918801519645.issue41517@roundup.psfhosted.org>
2020-08-10 23:42:29steven.dapranolinkissue41517 messages
2020-08-10 23:42:28steven.dapranocreate