Skip to content

site.py does a sometimes unnecessary stat #102038

Description

@hauntsaninja

I had reason to look at site.py and noticed that if pyvenv.cfg exists alongside sys.executable, we do an unnecessary stat. It's a small thing, but we do run site.py on almost every interpreter startup.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions