Message234723
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:-) |
|
Date |
User |
Action |
Args |
2015-01-26 08:36:45 | mark | set | recipients:
+ mark, barry, georg.brandl, eli.bendersky, docs@python, ethan.furman, serhiy.storchaka |
2015-01-26 08:36:45 | mark | set | messageid: <1422261405.91.0.950821966976.issue23292@psf.upfronthosting.co.za> |
2015-01-26 08:36:45 | mark | link | issue23292 messages |
2015-01-26 08:36:45 | mark | create | |
|