Skip to content

pdb repeats w 0 on empty line when there are commands in cmdqueue #120769

Closed

Description

@gaogaotiantian

Bug report

Bug description:

If you do a n ;; p 1 in pdb, the next time you entry an empty line (meant for repeat last command), it will repeat w 0 due to #119882. It's supposed to repeat p 1 (arguably n ;; p1 but we never do that). As user never inputs w 0 by their own, the current behavior might not be desired.

CPython versions tested on:

3.12, 3.13, CPython main branch

Operating systems tested on:

No response

Linked PRs

Activity

  1. added 2 commits that reference this issue on Jun 20, 2024
  2. added a commit that references this issue on Jun 30, 2024
  3. added a commit that references this issue on Jul 11, 2024
  4. added a commit that references this issue on Jul 17, 2024
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-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions