这是indexloc提供的服务,不要输入任何密码
Skip to content

pdb checks stdout, instead of stdin for use_rawinput #141615

@gaogaotiantian

Description

@gaogaotiantian

Bug report

Bug description:

I had to read it a million times but I'm 99% sure this is a typo:

cpython/Lib/pdb.py

Lines 349 to 350 in ed73c90

if stdout:
self.use_rawinput = 0

I can't believe it's been in our code base for 20 years.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

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