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
__all__ now works and __builtins__ is excluded in dynamic imports. Not sure if we should remove other stuff, especially in the dynamic importing. Currently if you have an __init__.py without __all__ all submodules that have been imported are included in import *. However, I suppose these might be legitimately used (but the static importer doesn't attempt to add them). Stuff likeimport sys could be excluded, but perhaps it is better to just keep it as exact as possible.
We should
__all__
is respectedThe text was updated successfully, but these errors were encountered: