This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ethan.furman, ncoghlan
Date 2013-05-12.06:30:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368340206.09.0.309770042573.issue17954@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think that would be wise - there's currently other logic in _get_mixins that subclasses would then have to duplicate.

I was thinking more of an allow_subclass() API that subtypes could override to always return True. EnumMeta would then just factor the relevant piece of _get_mixins out into the default allow_subclass implementation.
History
Date User Action Args
2013-05-12 06:30:06ncoghlansetrecipients: + ncoghlan, ethan.furman
2013-05-12 06:30:06ncoghlansetmessageid: <1368340206.09.0.309770042573.issue17954@psf.upfronthosting.co.za>
2013-05-12 06:30:06ncoghlanlinkissue17954 messages
2013-05-12 06:30:05ncoghlancreate