Skip to content

Line beginning <tab> gives completion instead of indentation in pdb multi-line input after interact #133153

Closed

Description

@tanloong

Feature or enhancement

Proposal:

Line beginning <tab> in multi-line input has inconsistent behavior between before and after the interact command.

python -c 'import pdb; breakpoint()'
for i in range(10):
<tab> # indentation
interact
for i in range(10):
<tab> # completion

Hope there is the same indentation behavior after the interact command. That feels more natural and intuitive.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Apr 30, 2025
  2. added a commit that references this issue on Apr 30, 2025
  3. gaogaotiantian commented on Apr 30, 2025

    @gaogaotiantian
    Member

    Thanks for the report, already fixed in #133176 .

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

Metadata

Metadata

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions