Skip to content

Pdb: inverted PYTHON_BASIC_REPL check in _pyrepl_available() #149173

@tanloong

Description

@tanloong

Bug report

Bug description:

The condition if not os.getenv("PYTHON_BASIC_REPL") is inverted, causing _pyrepl to be enabled when the env var is set and disabled when it's not set.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions