Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pdb loops endlessly on non-interactive scripts #100141

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

Description

@nphilipp

Bug report

Pdb (as of 3.11.0, 3.11.1 andmain branch, run from the command line) loops endlessly on non-interactive scripts.

To reproduce, runpython -m pdb /dev/null from the command line. This loops, endlessly printingThe program finished and will be restarted to the terminal. PressingCtrl + C drops you into the debugger shell, but enteringquit only drops you back into that endless loop, I had to kill the process directly to make it quit.

With Python 3.10, it looks like this:

nils@makake:~> python3.10 -m pdb /dev/null> /dev/null(1)<module>()(Pdb) quitnils@makake:~> python3.10 -m pdb -c c /dev/nullThe program finished and will be restarted> /dev/null(1)<module>()(Pdb) qnils@makake:~>

Your environment

  • CPython versions tested on: 3.11.0, 3.11.1, built from currentmain branch
  • Operating system and architecture: Fedora Linux 37, x86_64

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp