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 ethan.furman
Recipients barry, eli.bendersky, ethan.furman, kamilturek, suhailsingh247
Date 2021-04-11.15:03:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618153407.89.0.957990054992.issue43430@roundup.psfhosted.org>
In-reply-to
Content
Looking at your example I see that you are using an enum as the `type` parameter -- the purpose of `type` is to provide a mixin data type, such as `int` or `str`, not another enum.

What is your use-case?  Typically, subclassing EnumMeta is not needed.
History
Date User Action Args
2021-04-11 15:03:27ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, kamilturek, suhailsingh247
2021-04-11 15:03:27ethan.furmansetmessageid: <1618153407.89.0.957990054992.issue43430@roundup.psfhosted.org>
2021-04-11 15:03:27ethan.furmanlinkissue43430 messages
2021-04-11 15:03:27ethan.furmancreate