Message188980
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. |
|
Date |
User |
Action |
Args |
2013-05-12 06:30:06 | ncoghlan | set | recipients:
+ ncoghlan, ethan.furman |
2013-05-12 06:30:06 | ncoghlan | set | messageid: <1368340206.09.0.309770042573.issue17954@psf.upfronthosting.co.za> |
2013-05-12 06:30:06 | ncoghlan | link | issue17954 messages |
2013-05-12 06:30:05 | ncoghlan | create | |
|