Skip to content

Filter Python executables on Windows by Python version metadata #13927

@zanieb

Description

@zanieb

See astral-sh/ruff#18550 (comment)

Windows Python executables seem to have the Python version embedded in their metadata. This may be faster than querying the Python interpreter to get its version, which would speed up Python discovery on Windows when a specific version is requested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContribution especially encouragedperformancePotential performance improvementwindowsSpecific to the Windows platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions