chore: remove __all__ from non- __init__ files#406
chore: remove __all__ from non- __init__ files#406fstagni wants to merge 1 commit intoDIRACGrid:mainfrom
Conversation
|
|
It is only used when you do |
|
It's also used by some tooling, for example pylance for editor autocomplete: https://github.com/microsoft/pylance-release/blob/392d64e0029c7e0adbb8b6baa2b6a0ce3e3a4c90/docs/settings/python_analysis_packageIndexDepths.md#how-to-use-pythonanalysispackageindexdepths |
|
IMHO, that's not a particularly strong point. |
|
It's a way of making the public API explicit, and as @chrisburr said, it is used by autocomplete. |
|
@fstagni created this PR because he noticed that
|
I do not see why they would be useful, but convince me otherwise.