[issue22504] Add ordering between `Enum` objects
Ram Rachum
report at bugs.python.org
Sat Sep 27 17:35:36 CEST 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue22504>
_______________________________________
More information about the Python-bugs-list
mailing list