Ram Rachum added the comment:

Just because I want to be able to get the `int` value of an enum object, 
doesn't mean I want the enum object to *be* an `int`, which is what `IntEnum` 
means. I don't want it to be comparable to an int, I don't want to use 
arithmetic on it, and most importantly I don't want it to be equal to an enum 
object of a different type that happens to have the same int.

----------

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

Reply via email to