Message234723
| Author |
mark |
| Recipients |
barry, docs@python, eli.bendersky, ethan.furman, georg.brandl, mark, serhiy.storchaka |
| Date |
2015年01月26日.08:36:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1422261405.91.0.950821966976.issue23292@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Nice answer Ethan (but I can't vote you up since stack overflow won't let me vote or even comment anymore).
As for adding export_to(), it seems like a good idea. However, personally, I think the signature should be
hoist_into(namespace, cls, *clses)
to allow multiple enums in the same module to be exported in one go. (Just kidding about the new name though.)
PS I should have said earlier, thanks Eli:-) |
|