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 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:-)
History
Date User Action Args
2015-01-26 08:36:45marksetrecipients: + mark, barry, georg.brandl, eli.bendersky, docs@python, ethan.furman, serhiy.storchaka
2015-01-26 08:36:45marksetmessageid: <1422261405.91.0.950821966976.issue23292@psf.upfronthosting.co.za>
2015-01-26 08:36:45marklinkissue23292 messages
2015-01-26 08:36:45markcreate