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

Find files for targets that are on imported modules #1

Open
estebank opened this issue May 6, 2013 · 1 comment
Open

Find files for targets that are on imported modules #1

estebank opened this issue May 6, 2013 · 1 comment

Comments

@estebank
Copy link

estebank commented May 6, 2013

I have a solution to find things like os.path, but the implementation could be considered unsafe. It would involve attempting to import it, and so depending on what one tries to find, it could be dangerous as the code would in effect be evaluated.

You could use the AST standard module for this. You wouldn't be evaluating the code, but rather only parsing it.

If I have time I'll create a pull request adding a part of this feature.

@mkomitee
Copy link
Owner

That would be welcome.

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

2 participants