Skip to content

Decide which modules should define __all__ #876

@vyasr

Description

@vyasr

While refactoring I noticed that we define __all__ in some modules that are not __init__.py files representing a package. Is that something that we want to do or care about very much? I would be fine relying solely on underscore prefixes in all modules that are not packages and only implementing __all__ for package files, but I don't feel strongly about this. I just wanted to raise the question for consistency's sake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions