Skip to content

LSP Development: Add __all__ in ./sage/all.py #41168

@SeanDictionary

Description

@SeanDictionary

It's enssential to add __all__ list in ./sage/all.py. It'll make LSP development easier.
I'm trying to customize an LSP python-lsp-server for SageMath(see in here). It uses stastic methods to check the imported package.
However, there are no __all__ which caused errors with from sage.all import *. The LSP can't recognize which modulos was imported.

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