add keyword argument to import-module to import submodules#30
add keyword argument to import-module to import submodules#30digikar99 wants to merge 1 commit intobendudson:masterfrom
Conversation
|
Thanks for this! How does the code work out which imports to include? Is this just replaying any |
This simply during the calls to So, the source form of instead of (Ignore the other changes) |
|
Oh yes, should I proceed with the |
DO NOT MERGE YET!
In addition to this, there's one more change (not yet backported/committed) that adds import statements to the start of every function. So, if numpy were imported as np, and one were to call
np:addafter the process stops, one gets anumpy not definederror. To avoid this, the first statement ofnp:addbecomes(python-exec "import numpy as np"). Should this be committed?I don't think this breaks anyone's code; one may get a performance penalty though; but as it is, this project does not have much focus on speed.
DO NOT MERGE YET!