Skip to content
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

Importlab should not execute the code it analyzes #69

Open
rchen152 opened this issue Aug 8, 2023 · 0 comments
Open

Importlab should not execute the code it analyzes #69

rchen152 opened this issue Aug 8, 2023 · 0 comments

Comments

@rchen152
Copy link
Contributor

rchen152 commented Aug 8, 2023

See this comment: google/pytype#1436 (comment). Thanks to the behavior of importlib.find_spec, importlab ends up running module initialization code when attempting to find dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant