You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: