Ethan Furman <et...@stoneleaf.us> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43430>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to