-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Python] Barebones version of ImportAll #3965
Comments
Also found importAll "shutil" which returns import shutil
shutil Also looks a bit weird, but it doesn't fail so I'll go with it now. |
alfonsogarciacaro
added a commit
to alfonsogarciacaro/Fable
that referenced
this issue
Feb 6, 2025
Merged
There's also |
MangelMaxime
pushed a commit
to alfonsogarciacaro/Fable
that referenced
this issue
Feb 9, 2025
MangelMaxime
added a commit
that referenced
this issue
Feb 9, 2025
* [Python] Fix #3965: importSideEffects shouldn't generate identifier * [Python] Fix #3481: Resolve also paths for non-qualified imports * [Python] Ignore backwards paths in imports & tests * Update changelog --------- Co-authored-by: Maxime Mangel <[email protected]>
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I would like to just
import
theshutil
module in python so I can use it in anemit
statement somewhere in my code. The problem is I can't seem to get the example from the documentation to work.Repro code`
REPL
Best case would be if I could just write something like this
and get
but instead I don't get any import statement at all.
So I add a call to the import "function" (as seen in #3481).
Now I get the import statement, but unfortunately also the call which fails, as you can't call a module:
Related information
The text was updated successfully, but these errors were encountered: