cpython icon indicating copy to clipboard operation
cpython copied to clipboard

Arrow key history broken when stdin is passed explicitly on pdb

Open zelosleone opened this issue 3 weeks ago • 4 comments

Bug report

Bug description:

Description: When using pdb through pytest (or any tool that passes stdin explicitly), arrow key history doesn't work even when stdin is a real TTY. And currently, we assume readline.backend exists even on windows where pyreadline3 doesn't have readline.backend https://github.com/astral-sh/uv/issues/17174 directly related to this.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

  • gh-143083

zelosleone avatar Dec 22 '25 20:12 zelosleone