[Python-Dev] enum discussion: can someone please summarize open issues?

Terry Jan Reedy tjreedy at udel.edu
Mon Apr 29 23:45:30 CEST 2013


On 4/29/2013 8:24 AM, Eli Bendersky wrote:

> Thanks for the summary. One issue I don't see addressed here is
> int-compatibility. Am I correct to assume that nothing changes w.r.t.
> that, and that an IntEnum subclass of Enum will be provided which is
> isinstance(integer)? Does that become straightforward by nature of enum
> values being the type of their enumerations?

My only concern is that whatever you do does not break transitivity of 
==. Aside from that, I will be happy with whatever you end up with and 
use it as appropriate.







More information about the Python-Dev mailing list