[Python-Dev] PEP-435 reference implementation (original) (raw)
Ethan Furman ethan at stoneleaf.us
Wed May 1 08:40:22 CEST 2013
- Previous message: [Python-Dev] PEP-435 reference implementation
- Next message: [Python-Dev] PEP-435 reference implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] PEP-435 reference implementation
- Next message: [Python-Dev] PEP-435 reference implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]