Open AWhetter opened 3 years ago
The thing I had in mind was to make astroid.nodes
(or astroid) the entrypoint to import everything and to make node_classes
and scoped_nodes
private. What your suggesting is to use only astroid
and not astroid.nodes
?
If we're taking the time and effort to move the
astroid.node_classes
andastroid.scoped_nodes
modules underastroid.nodes
, should we consider making these submodules private? I don't think that this separation really helps users and I've always found it annoying (both as a user and as a maintainer) more than I've found it useful for organisation. It would also give us the flexibility to move classes around so that we can address the cyclic imports that prevent us from being able to declare__all__
and do wildcard imports at the moment.