Skip to content

User site packages are being added when site module is enabled in _pth file #120037

Open
@tanzim

Description

@tanzim

Bug report

Bug description:

See #119920 (comment).

I've managed to reproduce this with the latest official Windows embedded Python releases for 3.11 and 3.12.

CPython versions tested on:

3.11, 3.12

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixes3.12only security fixes3.13bugs and security fixes3.14bugs and security fixestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions