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

Ethan Furman ethan at stoneleaf.us
Mon Apr 29 23:53:58 CEST 2013

On 04/29/2013 02:45 PM, Terry Jan Reedy wrote:
> 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.

It will not be broken.


More information about the Python-Dev mailing list