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).

--
~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to