Skip to content

Dynamically detect stdlib modules #100

Open
@varungandhi-src

Description

@varungandhi-src

Right now, we have a hard-coded list of packages in the stdlib, similar to scip-go.

https://github.com/sourcegraph/scip-python/blob/scip/packages/pyright-scip/src/hardcoded.ts

We should try to get the list of packages dynamically, and if that fails, fall back to the hard-coded list. That way, changes in the Python version don't require necessarily changing the list immediately.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions