Create astroid module from a string using AstroidManager #725
Labels
Enhancement ✨
Improvement to a component
Good first issue
Friendly and approachable by new contributors
For the read-from-stdin feature in pylint an AST is constructed using
whereas for regular modules it is constructed using
See the get_ast method in https://github.com/PyCQA/pylint/pull/3257/files/5b24700e7bf84d1f2ae6fcd468acf5a9f6f1c458
The module docstring of astroid.manager suggests that the Manager should be used for both cases in pylint.
Therefore, AstroidManager should provide a way to create an AST from a string.
The text was updated successfully, but these errors were encountered: