Is awesome. However, it also dumps waaaaay more stuff in your local namespace than you need; for example it is currently dumping the contents of the ast module into every file that uses macros.
The dumb thing to do would be to make the macro smart enough to only include additional imports for the "additional" things it needs. The better thing to do would be just to have a proper __all__ in all our files so import * does the right thing.
Is awesome. However, it also dumps waaaaay more stuff in your local namespace than you need; for example it is currently dumping the contents of the
ast
module into every file that uses macros.The dumb thing to do would be to make the macro smart enough to only include additional imports for the "additional" things it needs. The better thing to do would be just to have a proper
__all__
in all our files soimport *
does the right thing.