Message188980
| 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: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 |
|