Mark Summerfield added the comment:
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:-)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23292>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com