[Python-Dev] PEP-435 reference implementation

Ethan Furman ethan at stoneleaf.us
Wed May 1 08:40:22 CEST 2013

On 04/30/2013 10:41 PM, Barry Warsaw wrote:
> What does it break if you remove the `if base._enum` check?  I mean, can we be
> consenting adults here or not?

I removed the error and added a couple lines to EnumType.__getattr_, and now subclassing works as I think you are used 
to it working.

Very unsure on this change being permanent (I have no objections to it).


More information about the Python-Dev mailing list