Skip to content

pdb -p does not display the (Pdb) prompt #154467

Closed

Description

@ambv

Bug report

Bug description:

Expected:
Image

Actual:
Image

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on Jul 22, 2026
  2. self-assigned this
    on Jul 22, 2026
  3. added a commit that references this issue on Jul 22, 2026
  4. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Jul 23, 2026
  5. added a commit that references this issue on Jul 27, 2026
  6. added a commit that references this issue on Aug 14, 2026
  7. parulgupta1004 commented on Aug 26, 2026

    @parulgupta1004
    Member

    Thanks for this fix! This is reproducible on 3.15 branch.

    Repro:

    1. Checkout 3.15 branch.
    2. After building cpython, run 'sudo ./python.exe -m pdb -p '

    This needs to be backported to 3.15 branch.

    Image
  8. added a commit that references this issue on Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions